Fehler in der TypeInsertSet.equals() methode behoben

This commit is contained in:
JanUlrich 2014-03-24 13:59:21 +01:00
parent 7031839f52
commit fae741c658

View File

@ -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;