litesoft
Diff Revisions
151
vs
811
for /trunk/Java/core/Anywhere/src/org/litesoft/bo/views/ObjectUniqueKey.java
|
@@ -3,7 +3,7 @@ |
3 |
3 |
|
|
4 |
4 |
|
import java.io.*; |
5 |
5 |
|
|
6 |
|
- |
import org.litesoft.core.util.*; |
|
6 |
+ |
import org.litesoft.core.typeutils.*; |
7 |
7 |
|
|
8 |
8 |
|
public class ObjectUniqueKey implements Serializable |
9 |
9 |
|
{ |
|
@@ -211,7 +211,7 @@ |
211 |
211 |
|
return zID; |
212 |
212 |
|
} |
213 |
213 |
|
} |
214 |
|
- |
throw new IllegalArgumentException( "Unacceptable ObjectUniqueKey ID, expected a String. but was: " + UtilsCommon.justClassNameOf( pID ) ); |
|
214 |
+ |
throw new IllegalArgumentException( "Unacceptable ObjectUniqueKey ID, expected a String. but was: " + Objects.justClassNameOf( pID ) ); |
215 |
215 |
|
} |
216 |
216 |
|
|
217 |
217 |
|
public String parseString( String pID ) |
|
@@ -232,7 +232,7 @@ |
232 |
232 |
|
{ |
233 |
233 |
|
return (Long) pID; |
234 |
234 |
|
} |
235 |
|
- |
throw new IllegalArgumentException( "Unacceptable ObjectUniqueKey ID, expected a Long. but was: " + UtilsCommon.justClassNameOf( pID ) ); |
|
235 |
+ |
throw new IllegalArgumentException( "Unacceptable ObjectUniqueKey ID, expected a Long. but was: " + Objects.justClassNameOf( pID ) ); |
236 |
236 |
|
} |
237 |
237 |
|
|
238 |
238 |
|
public Long parseLong( String pID ) |