fix bug in previous re-fact

This commit is contained in:
Strong Liu 2011-08-15 15:33:39 +08:00
parent 4ccc536c99
commit 05cec5a4ba
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class VersionValue implements UnsavedValueStrategy {
@Override
public final Boolean isUnsaved(Object version) {
LOG.trace("Version unsaved-value strategy UNDEFINED");
return version==null;
return version==null ? Boolean.TRUE : null;
}
@Override
public Object getDefaultValue(Object currentValue) {