diff --git a/src/org/kar/archidata/dataAccess/addOnSQL/AddOnDataJson.java b/src/org/kar/archidata/dataAccess/addOnSQL/AddOnDataJson.java index 9171783..567139e 100644 --- a/src/org/kar/archidata/dataAccess/addOnSQL/AddOnDataJson.java +++ b/src/org/kar/archidata/dataAccess/addOnSQL/AddOnDataJson.java @@ -125,37 +125,37 @@ public class AddOnDataJson implements DataAccessAddOn { final ParameterizedType listType = (ParameterizedType) field.getGenericType(); final Class listClass = (Class) listType.getActualTypeArguments()[0]; if (listClass == Long.class) { - final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {});// field.getType()); + final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {}); field.set(data, dataParsed); return; } if (listClass == Float.class) { - final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {});// field.getType()); + final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {}); field.set(data, dataParsed); return; } if (listClass == Double.class) { - final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {});// field.getType()); + final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {}); field.set(data, dataParsed); return; } if (listClass == Integer.class) { - final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {});// field.getType()); + final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {}); field.set(data, dataParsed); return; } if (listClass == Short.class) { - final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {});// field.getType()); + final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {}); field.set(data, dataParsed); return; } if (listClass == String.class) { - final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {});// field.getType()); + final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {}); field.set(data, dataParsed); return; } if (listClass == UUID.class) { - final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {});// field.getType()); + final Object dataParsed = objectMapper.readValue(jsonData, new TypeReference>() {}); field.set(data, dataParsed); return; }