[weld-commits] Weld SVN: r5743 - core/trunk/impl/src/main/java/org/jboss/weld/exceptions.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Feb 4 14:20:30 EST 2010


Author: pete.muir at jboss.org
Date: 2010-02-04 14:20:30 -0500 (Thu, 04 Feb 2010)
New Revision: 5743

Modified:
   core/trunk/impl/src/main/java/org/jboss/weld/exceptions/WeldExceptionMessage.java
Log:
oops

Modified: core/trunk/impl/src/main/java/org/jboss/weld/exceptions/WeldExceptionMessage.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/exceptions/WeldExceptionMessage.java	2010-02-04 19:19:10 UTC (rev 5742)
+++ core/trunk/impl/src/main/java/org/jboss/weld/exceptions/WeldExceptionMessage.java	2010-02-04 19:20:30 UTC (rev 5743)
@@ -82,7 +82,7 @@
          int index = 0;
          for (Object arg : args)
          {
-            messageArguments[index++] = arg.toString();
+            messageArguments[index++] = arg == null ? "null" : arg.toString();
          }
       }
    }



More information about the weld-commits mailing list