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:
Luca Frosini 2016-12-21 18:01:14 +00:00
parent 3168085d05
commit 130cbbbdd3
1 changed files with 0 additions and 5 deletions

View File

@ -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();