litesoft
Diff Revisions
587
vs
726
for /trunk/Java/core/Anywhere/src/org/litesoft/core/util/NoEqualsBase.java
|
@@ -91,6 +91,7 @@ |
91 |
91 |
|
} |
92 |
92 |
|
} |
93 |
93 |
|
|
|
94 |
+ |
@SuppressWarnings("unchecked") |
94 |
95 |
|
protected Wrapper<E, C>[] array( int pSize ) |
95 |
96 |
|
{ |
96 |
97 |
|
return new Wrapper[pSize]; |
|
@@ -132,13 +133,7 @@ |
132 |
133 |
|
|
133 |
134 |
|
protected E castNullOK( Object o ) |
134 |
135 |
|
{ |
135 |
|
- |
return cast( o ); |
136 |
|
- |
} |
137 |
|
- |
|
138 |
|
- |
@SuppressWarnings({"unchecked"}) |
139 |
|
- |
protected <T> T cast( Object o ) |
140 |
|
- |
{ |
141 |
|
- |
return (T) o; |
|
136 |
+ |
return UtilsCommon.cast( o ); |
142 |
137 |
|
} |
143 |
138 |
|
|
144 |
139 |
|
protected static boolean areEqual( Object p1, Object p2 ) |