litesoft
Diff Revisions
49
vs
151
for /trunk/Java/core/Server/src/org/litesoft/orsup/base/PersistentObjectUniqueKeyForInstance.java
|
@@ -32,8 +32,7 @@ |
32 |
32 |
|
PersistentObjectUniqueKeyForInstance them = (PersistentObjectUniqueKeyForInstance) pThem; |
33 |
33 |
|
if ( this.mPOsystemHashCode == them.mPOsystemHashCode ) |
34 |
34 |
|
{ |
35 |
|
- |
if ( (this.mPersistentObject == null) || (them.mPersistentObject == null) || |
36 |
|
- |
(this.mPersistentObject == them.mPersistentObject) ) |
|
35 |
+ |
if ( (this.mPersistentObject == null) || (them.mPersistentObject == null) || (this.mPersistentObject == them.mPersistentObject) ) |
37 |
36 |
|
{ |
38 |
37 |
|
return true; |
39 |
38 |
|
} |
|
@@ -51,7 +50,6 @@ |
51 |
50 |
|
@Override |
52 |
51 |
|
public WhereClause convertToWC() |
53 |
52 |
|
{ |
54 |
|
- |
throw new IllegalStateException( |
55 |
|
- |
"Attempt to query on a PersistentObjectUniqueKey for an object that has no PersistentObjectUniqueKey" ); |
|
53 |
+ |
throw new IllegalStateException( "Attempt to query on a PersistentObjectUniqueKey for an object that has no PersistentObjectUniqueKey" ); |
56 |
54 |
|
} |
57 |
55 |
|
} |