commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r902215 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/FrequencyTest.java
Date Fri, 22 Jan 2010 18:40:55 GMT
Author: sebb
Date: Fri Jan 22 18:40:55 2010
New Revision: 902215

URL: http://svn.apache.org/viewvc?rev=902215&view=rev
Log:
FIx deprecation warnings

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

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/FrequencyTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/FrequencyTest.java?rev=902215&r1=902214&r2=902215&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/FrequencyTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/FrequencyTest.java
Fri Jan 22 18:40:55 2010
@@ -51,6 +51,7 @@
     }
 
     /** test freq counts */
+    @SuppressWarnings("deprecation")
     public void testCounts() {
         assertEquals("total count",0,f.getSumFreq());
         f.addValue(oneL);
@@ -124,6 +125,7 @@
     }
 
     /** test pcts */
+    @SuppressWarnings("deprecation")
     public void testPcts() {
         f.addValue(oneL);
         f.addValue(twoL);
@@ -150,6 +152,7 @@
     }
 
     /** test adding incomparable values */
+    @SuppressWarnings("deprecation")
     public void testAdd() {
         char aChar = 'a';
         char bChar = 'b';
@@ -242,6 +245,7 @@
             fail(ex.getMessage());
         }
     }
+    @SuppressWarnings("deprecation")
     public void testIntegerValues() {
         Comparable<?> obj1 = null;
         obj1 = Integer.valueOf(1);



Mime
View raw message