forked from JavaTX/JavaCompilerCore
JavaCodeResult equals implementiert
This commit is contained in:
parent
69668434da
commit
0357dd0903
@ -56,7 +56,11 @@ public class JavaCodeResult{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj){
|
public boolean equals(Object obj){
|
||||||
throw new NotImplementedException();
|
if(!(obj instanceof JavaCodeResult))return false;
|
||||||
|
JavaCodeResult equals = (JavaCodeResult)obj;
|
||||||
|
if(!equals.getJavaCode().equals(this.getJavaCode()))return false;
|
||||||
|
if(!equals.getUnresolvedTPH().equals(this.getUnresolvedTPH()))return false;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user