Fixed error message whitespace

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144233 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-02-24 09:52:56 +00:00
parent bf27efa315
commit dbab124043
2 changed files with 1 additions and 13 deletions

View File

@ -1,12 +0,0 @@
/**
*
*/
package org.gcube.informationsystem.resourceregistry.schema;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class EntitySchemaManagement {
}

View File

@ -67,7 +67,7 @@ public class SchemaManagementImpl implements SchemaManagement {
try {
OClass oClass = oSchema.getClass(type);
if (oClass == null) {
throw new SchemaNotFoundException(type + "was not registered");
throw new SchemaNotFoundException(type + " was not registered");
}
if (baseType != null && type.compareTo(baseType) != 0) {
if (!oClass.isSubClassOf(baseType)) {