fixed default value usage

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@149381 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-06-11 08:30:51 +00:00
parent 30bbf3d21f
commit 34a076572d
1 changed files with 1 additions and 2 deletions

View File

@ -778,8 +778,7 @@ public class CatalogueUtils {
value = defaultValue;
fieldToValidate.setValue(defaultValue);
}
else
return;
return; // there is no need to check other stuff
}
switch(dataType){