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