Fixing internals
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-couchdb@122612 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f5a93f0850
commit
2bf5db7b16
|
@ -74,8 +74,8 @@ public class PersistenceCouchDB extends PersistenceBackend {
|
|||
protected static Record jsonNodeToUsageRecord(JsonNode jsonNode) throws Exception {
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
@SuppressWarnings("unchecked")
|
||||
Map<String, Comparable<? extends Serializable>> result = mapper.convertValue(jsonNode, Map.class);
|
||||
Record record =RecordUtility.getRecord(result);
|
||||
Map<String, Serializable> result = mapper.convertValue(jsonNode, Map.class);
|
||||
Record record = RecordUtility.getRecord(result);
|
||||
return record;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue