litesoft
Diff Revisions
803
vs
804
for /trunk/Java/core/Anywhere/src/org/litesoft/bo/views/SimpleVoAttribute.java
|
@@ -3,6 +3,7 @@ |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.bo.attributes.*; |
5 |
5 |
|
import org.litesoft.bo.change.*; |
|
6 |
+ |
import org.litesoft.core.typeutils.*; |
6 |
7 |
|
import org.litesoft.core.util.*; |
7 |
8 |
|
|
8 |
9 |
|
public abstract class SimpleVoAttribute<V extends ViewObject> implements VoAttribute<V> |
|
@@ -16,7 +17,7 @@ |
16 |
17 |
|
mMetaData = pMetaData; |
17 |
18 |
|
mName = UtilsCommon.assertNotNullNotEmpty( "Name", pName ); |
18 |
19 |
|
mRequired = pRequired; |
19 |
|
- |
UtilsCommon.assertNotNull( "MetaData", mMetaData = pMetaData ); |
|
20 |
+ |
Objects.assertNotNull( "MetaData", mMetaData = pMetaData ); |
20 |
21 |
|
} |
21 |
22 |
|
|
22 |
23 |
|
public final String getName() |
|
@@ -105,7 +106,7 @@ |
105 |
106 |
|
} |
106 |
107 |
|
|
107 |
108 |
|
SimpleChangeEntry them = (SimpleChangeEntry) o; |
108 |
|
- |
return UtilsCommon.areNonArraysEqual( this.mOriginalValue, them.mOriginalValue ); |
|
109 |
+ |
return Objects.areNonArraysEqual( this.mOriginalValue, them.mOriginalValue ); |
109 |
110 |
|
} |
110 |
111 |
|
|
111 |
112 |
|
public int hashCode() |