Removed uneeded log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134662 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
87cd63d2b6
commit
635f18f667
|
@ -93,9 +93,7 @@ public class SchemaManagementImpl implements SchemaManagement {
|
||||||
|
|
||||||
protected static String serializeOClass(OClass oClass) throws SchemaException {
|
protected static String serializeOClass(OClass oClass) throws SchemaException {
|
||||||
ODocument oDocument = ((OClassImpl) oClass).toStream();
|
ODocument oDocument = ((OClassImpl) oClass).toStream();
|
||||||
String json = oDocument.toJSON();
|
return oDocument.toJSON();
|
||||||
logger.trace("Requested type serialization is {}", json);
|
|
||||||
return json;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected List<OClass> getSuperclassesAndCheckCompliancy(
|
protected List<OClass> getSuperclassesAndCheckCompliancy(
|
||||||
|
@ -241,7 +239,7 @@ public class SchemaManagementImpl implements SchemaManagement {
|
||||||
}
|
}
|
||||||
|
|
||||||
String ret = serializeOClass(toBeSerializedOClass);
|
String ret = serializeOClass(toBeSerializedOClass);
|
||||||
logger.info("{} type registered successfully: {}", baseType, jsonSchema);
|
logger.info("{} type registered successfully: {}", baseType.getSimpleName(), jsonSchema);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue