Subversion Repository Public Repository

litesoft

Diff Revisions 239 vs 610 for /trunk/Java/core/Server/src/org/litesoft/orsup/nonpublic/PersistentObjectImpl.java

Diff revisions: vs.
  @@ -445,9 +445,12 @@
445 445 @Override
446 446 public final PersistentObjectUniqueKey getPersistentObjectUniqueKey()
447 447 {
448 - if ( (mKey == null) && (null == (mKey = createPersistentObjectUniqueKey())) )
448 + if ( mKey == null )
449 449 {
450 - mKey = new PersistentObjectUniqueKeyForInstance( this );
450 + if ( null == (mKey = createPersistentObjectUniqueKey()) )
451 + {
452 + mKey = new PersistentObjectUniqueKeyForInstance( this );
453 + }
451 454 }
452 455 return mKey;
453 456 }