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:
parent
12026b52da
commit
43f8b8c29b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue