Subversion Repository Public Repository

litesoft

Diff Revisions 198 vs 804 for /trunk/Java/core/Anywhere/src/org/litesoft/core/util/TypeConverter.java

Diff revisions: vs.
  @@ -8,6 +8,7 @@
8 8 import org.litesoft.core.simpletypes.currency.*;
9 9 import org.litesoft.core.simpletypes.temporal.*;
10 10 import org.litesoft.core.simpletypes.temporal.nonpublic.*;
11 + import org.litesoft.core.typeutils.*;
11 12
12 13 public class TypeConverter
13 14 {
  @@ -245,7 +246,7 @@
245 246
246 247 public static SimpleMoney to_SimpleMoney( SimpleCurrency pSC, Object pObject )
247 248 {
248 - UtilsCommon.assertNotNull( "SimpleCurrency", pSC );
249 + Objects.assertNotNull( "SimpleCurrency", pSC );
249 250 if ( null == pObject )
250 251 {
251 252 return null;
  @@ -270,7 +271,7 @@
270 271 {
271 272 throw new IllegalArgumentException( "Decimal places not allowed to be negative" );
272 273 }
273 - UtilsCommon.assertNotNull( "NumericFormatControl", pFormatControl );
274 + Objects.assertNotNull( "NumericFormatControl", pFormatControl );
274 275 if ( null == pObject )
275 276 {
276 277 return null;
  @@ -284,7 +285,7 @@
284 285
285 286 public static SimpleFloatingPointLong to_SimpleFloatingPointLong( NumericFormatControl pFormatControl, Object pObject )
286 287 {
287 - UtilsCommon.assertNotNull( "NumericFormatControl", pFormatControl );
288 + Objects.assertNotNull( "NumericFormatControl", pFormatControl );
288 289 if ( null == pObject )
289 290 {
290 291 return null;
  @@ -303,7 +304,7 @@
303 304
304 305 public static SimpleTime to_SimpleTime( TimeRes pTimeRes, Object pObject )
305 306 {
306 - UtilsCommon.assertNotNull( "TimeRes", pTimeRes );
307 + Objects.assertNotNull( "TimeRes", pTimeRes );
307 308 if ( null == pObject )
308 309 {
309 310 return null;
  @@ -325,7 +326,7 @@
325 326
326 327 public static SimpleTimestamp to_SimpleTimestamp( TimeRes pTimeRes, Object pObject )
327 328 {
328 - UtilsCommon.assertNotNull( "TimeRes", pTimeRes );
329 + Objects.assertNotNull( "TimeRes", pTimeRes );
329 330 if ( null == pObject )
330 331 {
331 332 return null;