commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r208874 - /jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java
Date Sat, 02 Jul 2005 22:25:01 GMT
Author: psteitz
Date: Sat Jul  2 15:24:59 2005
New Revision: 208874

URL: http://svn.apache.org/viewcvs?rev=208874&view=rev
Log:
Fixed actual parameter types to eliminate jdk 1.5 compiler warning.

Modified:
    jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java

Modified: jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java?rev=208874&r1=208873&r2=208874&view=diff
==============================================================================
--- jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java
(original)
+++ jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java
Sat Jul  2 15:24:59 2005
@@ -127,8 +127,8 @@
         } else {
             s = (SummaryStatistics) u;
         }
-        
-        u.getClass().getDeclaredMethod("clear", null).invoke(u, null);
+        u.getClass().getDeclaredMethod(
+                "clear", new Class[]{}).invoke(u, new Object[]{});
         mean = Double.NaN;
         std = Double.NaN;
         



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message