commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1533515 - in /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3: ArrayUtilsTest.java ObjectUtilsTest.java StringUtilsTest.java text/StrTokenizerTest.java
Date Fri, 18 Oct 2013 15:36:22 GMT
Author: sebb
Date: Fri Oct 18 15:36:22 2013
New Revision: 1533515

URL: http://svn.apache.org/r1533515
Log:
Suppress deprecated warnings for test code

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrTokenizerTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java?rev=1533515&r1=1533514&r2=1533515&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java Fri
Oct 18 15:36:22 2013
@@ -39,6 +39,7 @@ import org.junit.Test;
  *
  * @version $Id$
  */
+@SuppressWarnings("deprecation") // deliberate use of deprecated code
 public class ArrayUtilsTest  {
 
     //-----------------------------------------------------------------------
@@ -1243,7 +1244,7 @@ public class ArrayUtilsTest  {
 
     }
 
-    @Test
+	@Test
     public void testSubarrayFloat() {
         final float[] nullArray = null;
         final float[] array = { 10, 11, 12, 13, 14, 15 };

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java?rev=1533515&r1=1533514&r2=1533515&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
Fri Oct 18 15:36:22 2013
@@ -45,6 +45,7 @@ import org.junit.Test;
  *
  * @version $Id$
  */
+@SuppressWarnings("deprecation") // deliberate use of deprecated code
 public class ObjectUtilsTest {
     private static final String FOO = "foo";
     private static final String BAR = "bar";

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java?rev=1533515&r1=1533514&r2=1533515&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
Fri Oct 18 15:36:22 2013
@@ -44,6 +44,7 @@ import org.junit.Test;
  *
  * @version $Id$
  */
+@SuppressWarnings("deprecation") // deliberate use of deprecated code
 public class StringUtilsTest {
     
     static final String WHITESPACE;
@@ -1304,7 +1305,6 @@ public class StringUtilsTest {
         }
     }
 
-    @SuppressWarnings("deprecation") // intentional test of deprecated method
     @Test
     public void testChomp() {
 

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrTokenizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrTokenizerTest.java?rev=1533515&r1=1533514&r2=1533515&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrTokenizerTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrTokenizerTest.java
Fri Oct 18 15:36:22 2013
@@ -18,7 +18,9 @@
 package org.apache.commons.lang3.text;
 
 import org.junit.Test;
+
 import static org.junit.Assert.*;
+
 import java.util.Arrays;
 import java.util.Collections;
 import java.util.List;
@@ -31,6 +33,7 @@ import org.apache.commons.lang3.ObjectUt
  * Unit test for Tokenizer.
  * 
  */
+@SuppressWarnings("deprecation") // deliberate use of deprecated code
 public class StrTokenizerTest {
 
     private static final String CSV_SIMPLE_FIXTURE = "A,b,c";



Mime
View raw message