Author: luc
Date: Wed Mar 23 13:02:51 2011
New Revision: 1084569
URL: http://svn.apache.org/viewvc?rev=1084569&view=rev
Log:
removed unneeded null argument
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NoDataException.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NullArgumentException.java
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NoDataException.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NoDataException.java?rev=1084569&r1=1084568&r2=1084569&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NoDataException.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NoDataException.java
Wed Mar 23 13:02:51 2011
@@ -42,6 +42,6 @@ public class NoDataException extends Mat
* @param specific Contextual information on what caused the exception.
*/
public NoDataException(Localizable specific) {
- super(specific, null);
+ super(specific);
}
}
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NullArgumentException.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NullArgumentException.java?rev=1084569&r1=1084568&r2=1084569&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NullArgumentException.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/NullArgumentException.java
Wed Mar 23 13:02:51 2011
@@ -38,7 +38,7 @@ public class NullArgumentException exten
* Default constructor.
*/
public NullArgumentException() {
- this(LocalizedFormats.NULL_NOT_ALLOWED, null);
+ this(LocalizedFormats.NULL_NOT_ALLOWED);
}
/**
* @param pattern Message pattern providing the specific context of