commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1453134 - in /commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload: DefaultFileItemTest.java ServletFileUploadTest.java
Date Wed, 06 Mar 2013 02:05:37 GMT
Author: sebb
Date: Wed Mar  6 02:05:36 2013
New Revision: 1453134

URL: http://svn.apache.org/r1453134
Log:
Suppress deprecation warnings for tests of deprecated classes

Modified:
    commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java
    commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/ServletFileUploadTest.java

Modified: commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java?rev=1453134&r1=1453133&r2=1453134&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java
(original)
+++ commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java
Wed Mar  6 02:05:36 2013
@@ -30,6 +30,8 @@ import java.util.Arrays;
 
 import org.junit.Test;
 
+@SuppressWarnings("deprecation") // unit tests for deprecated class
+
 /**
  * Unit tests for {@link org.apache.commons.fileupload.DefaultFileItem}.
  *

Modified: commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/ServletFileUploadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/ServletFileUploadTest.java?rev=1453134&r1=1453133&r2=1453134&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/ServletFileUploadTest.java
(original)
+++ commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/ServletFileUploadTest.java
Wed Mar  6 02:05:36 2013
@@ -30,6 +30,8 @@ import javax.servlet.http.HttpServletReq
 
 import org.junit.Test;
 
+@SuppressWarnings("deprecation") // unit tests for deprecated class
+
 /**
  * Unit tests {@link org.apache.commons.fileupload.DiskFileUpload}.
  *



Mime
View raw message