Update of /cvsroot/webmacro/webmacro/src/org/webmacro/util
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv21738/src/org/webmacro/util
Modified Files:
CastUtil.java
Log Message:
Eclipse: object cannot be null
Index: CastUtil.java
===================================================================
RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/util/CastUtil.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** CastUtil.java 18 Mar 2008 19:57:47 -0000 1.13
--- CastUtil.java 18 Mar 2008 19:59:48 -0000 1.14
***************
*** 63,68 ****
{
throw new IllegalArgumentException(
! "Not a valid char: " + ((o == null) ? "null" :
! (o.toString() + "; type=" + o.getClass().getName())));
}
}
--- 63,68 ----
{
throw new IllegalArgumentException(
! "Not a valid char: " +
! o.toString() + "; type=" + o.getClass().getName());
}
}
|