Generating list with no duplicates
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141350 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3168085d05
commit
130cbbbdd3
|
@ -296,11 +296,6 @@ public class SchemaManagementImpl implements SchemaManagement {
|
|||
JSONArray jsonArray = new JSONArray();
|
||||
|
||||
OClass baseOClass = getTypeSchema(orientGraphNoTx, type, baseType);
|
||||
if (includeSchema) {
|
||||
jsonArray.put(serializeOClassAsJSON(baseOClass));
|
||||
} else {
|
||||
jsonArray.put(baseOClass.getName());
|
||||
}
|
||||
|
||||
OMetadata oMetadata = orientGraphNoTx.getRawGraph().getMetadata();
|
||||
OSchema oSchema = oMetadata.getSchema();
|
||||
|
|
Loading…
Reference in New Issue