opendj-server-legacy/src/main/java/org/opends/server/admin/PropertyDefinition.java
@@ -420,12 +420,8 @@ return true; } else if (o instanceof PropertyDefinition) { PropertyDefinition<?> other = (PropertyDefinition<?>) o; if (propertyName.equals(other.propertyName)) { if (theClass.equals(other.theClass)) { return true; } } return false; return propertyName.equals(other.propertyName) && theClass.equals(other.theClass); } else { return false; }