litesoft
Diff Revisions
803
vs
804
for /trunk/Java/core/Server/src/org/litesoft/orsup/lazyload/AbstractLazyLoadTo.java
|
@@ -1,10 +1,10 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.orsup.lazyload; |
3 |
3 |
|
|
|
4 |
+ |
import org.litesoft.core.typeutils.*; |
4 |
5 |
|
import org.litesoft.orsup.base.*; |
5 |
6 |
|
import org.litesoft.orsup.nonpublic.*; |
6 |
7 |
|
import org.litesoft.orsup.otherattributeaccessors.*; |
7 |
|
- |
import org.litesoft.util.*; |
8 |
8 |
|
|
9 |
9 |
|
public abstract class AbstractLazyLoadTo<Owner extends PersistentObjectImpl, Them extends PersistentObjectImpl> |
10 |
10 |
|
{ |
|
@@ -13,8 +13,8 @@ |
13 |
13 |
|
|
14 |
14 |
|
public AbstractLazyLoadTo( Owner pOwner, AbstractAttributeAccessorSCDtoPO<Owner, Them> pSCDtoPO ) |
15 |
15 |
|
{ |
16 |
|
- |
Utils.assertNotNull( "Owner", mOwner = pOwner ); |
17 |
|
- |
Utils.assertNotNull( "AttributeAccessorSCDtoPO", pSCDtoPO ); |
|
16 |
+ |
Objects.assertNotNull( "Owner", mOwner = pOwner ); |
|
17 |
+ |
Objects.assertNotNull( "AttributeAccessorSCDtoPO", pSCDtoPO ); |
18 |
18 |
|
} |
19 |
19 |
|
|
20 |
20 |
|
abstract public String getAttributeName(); |
|
@@ -56,7 +56,7 @@ |
56 |
56 |
|
|
57 |
57 |
|
protected final void checkTransactions( Them pThem ) |
58 |
58 |
|
{ |
59 |
|
- |
if ( !Utils.areNonArraysEqual( pThem.getTransaction(), mOwner.getTransaction() ) ) |
|
59 |
+ |
if ( !Objects.areNonArraysEqual( pThem.getTransaction(), mOwner.getTransaction() ) ) |
60 |
60 |
|
{ |
61 |
61 |
|
throw new IllegalStateException( "We, '" + display( mOwner ) + "' and '" + display( pThem ) + "', are not in the same Transaction" ); |
62 |
62 |
|
} |