commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r712178 - /commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/MathException.java
Date Fri, 07 Nov 2008 16:06:12 GMT
Author: luc
Date: Fri Nov  7 08:05:50 2008
New Revision: 712178

URL: http://svn.apache.org/viewvc?rev=712178&view=rev
Log:
fixed a forgotten possible NPE

Modified:
    commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/MathException.java

Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/MathException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/MathException.java?rev=712178&r1=712177&r2=712178&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/MathException.java
(original)
+++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/MathException.java
Fri Nov  7 08:05:50 2008
@@ -99,7 +99,7 @@
     public MathException() {
         super();
         this.pattern   = null;
-        this.arguments = null;
+        this.arguments = new Object[0];
     }
     
     /**



Mime
View raw message