forked from JavaTX/JavaCompilerCore
JavaCodeResult equals implementiert
This commit is contained in:
parent
69668434da
commit
0357dd0903
@ -56,7 +56,11 @@ public class JavaCodeResult{
|
||||
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ public class TypeInsertPoint extends SourcePatchPoint {
|
||||
this.resultSet = resultSet;
|
||||
this.node = insertNode;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Setzt den Typ dieses TypeInsertPoint in den übergebenen Quelltext ein.
|
||||
* @param fileContent - der Quelltext
|
||||
|
Loading…
Reference in New Issue
Block a user