git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@412
be28352e-c001-0410-b1a7-
c7978e42abec
// Should retrieve original version and compare - unless local hashes can be used to determine if resultSet has been truncated.
// just do internal validation for moment.
try {
- newVersion.validate();
+ if (SimpleClientConfig.validateUpdatedRoots())
+ newVersion.validate();
return true;
}
catch (Exception e)
if (!newVersion.isRegistered())
_registerObject(newVersion);
try {
- newVersion.validate();
+ if (SimpleClientConfig.validateMergedRoots())
+ newVersion.validate();
return true;
}
catch (Exception e)