removed old comment

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib@160391 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-12-13 11:08:36 +00:00
parent 12026b52da
commit 43f8b8c29b
1 changed files with 0 additions and 6 deletions

View File

@ -442,8 +442,6 @@ public abstract class AbstractRecord implements Record {
for(String key : properties.keySet()){
Serializable value = properties.get(key);
/* TODO Test Patch */
Serializable checkedValue = validateField(key, value);
if(checkedValue == null){
validated.remove(key);
@ -451,9 +449,6 @@ public abstract class AbstractRecord implements Record {
validated.put(key, checkedValue);
}
// Restore if test patch is not good
//validated.put(key, validateField(key, value));
}
return validated;
}
@ -464,7 +459,6 @@ public abstract class AbstractRecord implements Record {
@Override
public void validate() throws InvalidValueException {
for(String key : this.computedFields){
computeField(key);
}