mirror of
https://github.com/pxb1988/dex2jar.git
synced 2024-11-26 22:50:42 +00:00
[type] minor improve of type transformer
This commit is contained in:
parent
8e58b0eb40
commit
d6383b7d1d
@ -223,6 +223,9 @@ public class TypeTransformer implements Transformer {
|
||||
while (x.next != null) {
|
||||
x = x.next;
|
||||
}
|
||||
if (x != this) {
|
||||
this.next = x;
|
||||
}
|
||||
return x;
|
||||
}
|
||||
|
||||
@ -280,8 +283,9 @@ public class TypeTransformer implements Transformer {
|
||||
}
|
||||
|
||||
public boolean updateTypeClass(TypeClass clz) {
|
||||
TypeClass merged = TypeClass.merge(this.getClz(), clz);
|
||||
if (merged == this.getClz()) {
|
||||
TypeClass thizClz = this.getClz();
|
||||
TypeClass merged = TypeClass.merge(thizClz, clz);
|
||||
if (merged == thizClz) {
|
||||
return false;
|
||||
}
|
||||
this.setClz(merged);
|
||||
|
Loading…
Reference in New Issue
Block a user