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:
parent
bf27efa315
commit
dbab124043
|
@ -1,12 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.informationsystem.resourceregistry.schema;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Luca Frosini (ISTI - CNR)
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class EntitySchemaManagement {
|
|
||||||
|
|
||||||
}
|
|
|
@ -67,7 +67,7 @@ public class SchemaManagementImpl implements SchemaManagement {
|
||||||
try {
|
try {
|
||||||
OClass oClass = oSchema.getClass(type);
|
OClass oClass = oSchema.getClass(type);
|
||||||
if (oClass == null) {
|
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 (baseType != null && type.compareTo(baseType) != 0) {
|
||||||
if (!oClass.isSubClassOf(baseType)) {
|
if (!oClass.isSubClassOf(baseType)) {
|
||||||
|
|
Loading…
Reference in New Issue