You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2016/08/05 12:47:33 UTC
svn commit: r1755313 -
/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/util/TypeUtils.java
Author: fmui
Date: Fri Aug 5 12:47:33 2016
New Revision: 1755313
URL: http://svn.apache.org/viewvc?rev=1755313&view=rev
Log:
fixed typo
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/util/TypeUtils.java
Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/util/TypeUtils.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/util/TypeUtils.java?rev=1755313&r1=1755312&r2=1755313&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/util/TypeUtils.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/util/TypeUtils.java Fri Aug 5 12:47:33 2016
@@ -224,7 +224,7 @@ public final class TypeUtils {
errors.add(new ValidationError("baseId", "Base type id must be set."));
} else if (!type.getBaseTypeId().value().equals(type.getParentTypeId())) {
if (type.getParentTypeId() == null || type.getParentTypeId().length() == 0) {
- errors.add(new ValidationError("parentTypeId", "Parent type id must be set."));
+ errors.add(new ValidationError("parentId", "Parent type id must be set."));
}
}