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:
Luca Frosini 2016-01-28 17:14:53 +00:00
parent 2bf5db7b16
commit e67cbb01ce
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}