forked from JavaTX/JavaCompilerCore
Fehler in der TypeInsertSet.equals() methode behoben
This commit is contained in:
parent
7031839f52
commit
fae741c658
@ -56,6 +56,7 @@ public class TypeInsertSet {
|
||||
public boolean equals(Object obj){
|
||||
if(! (obj instanceof TypeInsertSet))return false;
|
||||
TypeInsertSet equals = (TypeInsertSet) obj;
|
||||
if(points.size()!=equals.points.size())return false;
|
||||
for(TypeInsertPoint point : points){
|
||||
//Jeder TypeInsertPoint muss auch in equals vorkommen:
|
||||
if(!equals.points.contains(point))return false;
|
||||
|
Loading…
Reference in New Issue
Block a user