commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r567819 - in /commons/proper/math/trunk/src/test/org/apache/commons/math: random/RandomAdaptorTest.java stat/descriptive/MixedListUnivariateImplTest.java
Date Mon, 20 Aug 2007 20:27:03 GMT
Author: luc
Date: Mon Aug 20 13:27:01 2007
New Revision: 567819

URL: http://svn.apache.org/viewvc?rev=567819&view=rev
Log:
removed warnings about internal test classes that should have been declared static

Modified:
    commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomAdaptorTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/MixedListUnivariateImplTest.java

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomAdaptorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomAdaptorTest.java?rev=567819&r1=567818&r2=567819&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomAdaptorTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomAdaptorTest.java
Mon Aug 20 13:27:01 2007
@@ -65,7 +65,7 @@
      * "Powered by Eclipse ;-)"
      * 
      */
-    private class ConstantGenerator implements RandomGenerator {
+    private static class ConstantGenerator implements RandomGenerator {
         
         public boolean nextBoolean() {
             return false;

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/MixedListUnivariateImplTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/MixedListUnivariateImplTest.java?rev=567819&r1=567818&r2=567819&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/MixedListUnivariateImplTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/MixedListUnivariateImplTest.java
Mon Aug 20 13:27:01 2007
@@ -190,13 +190,13 @@
 
     }
 
-    public final class Foo {
+    public static final class Foo {
         public String heresFoo() {
             return "14.9";
         }
     }
 
-    public final class Bar {
+    public static final class Bar {
         public String heresBar() {
             return "12.0";
         }



Mime
View raw message