Oops, I've attached the wrong diff in the previous post! :)
--- rosetta/src/org/jboss/internal/soa/esb/assertion/AssertArgument.java (revision
16081)
+++ rosetta/src/org/jboss/internal/soa/esb/assertion/AssertArgument.java (working
copy)
@@ -38,12 +38,12 @@
* @param argName Argument name.
* @throws IllegalArgumentException Argument is null.
*/
- public static Object isNotNull(Object arg, String argName) throws
IllegalArgumentException {
+ public static void isNotNull(Object arg, String argName) throws
IllegalArgumentException {
if (arg == null) {
throw new IllegalArgumentException("null '" + argName
+ "' arg in method call.");
}
- return arg;
+ return;
}
/**
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099203#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...