[groovy] fix typo

This commit is contained in:
Daniil Ovchinnikov
2016-10-31 23:26:34 +03:00
parent 5053eaf9d8
commit ac75dced6a
@@ -134,7 +134,7 @@ public class GrAccessorMethodImpl extends LightMethodBuilder implements GrAccess
if (!anotherAccessor.isSetter()) return false; if (!anotherAccessor.isSetter()) return false;
} }
else { else {
if (!getName().startsWith(GET_PREFIX) == anotherAccessor.getName().startsWith(GET_PREFIX)) return false; if (getName().startsWith(GET_PREFIX) != anotherAccessor.getName().startsWith(GET_PREFIX)) return false;
} }
return getManager().areElementsEquivalent(myProperty, anotherAccessor.getProperty()); return getManager().areElementsEquivalent(myProperty, anotherAccessor.getProperty());
} }