commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r999013 - /commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
Date Mon, 20 Sep 2010 17:20:17 GMT
Author: sebb
Date: Mon Sep 20 17:20:17 2010
New Revision: 999013

URL: http://svn.apache.org/viewvc?rev=999013&view=rev
Log:
Raw type

Modified:
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java

Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java?rev=999013&r1=999012&r2=999013&view=diff
==============================================================================
--- commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
(original)
+++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
Mon Sep 20 17:20:17 2010
@@ -95,13 +95,11 @@ public class FTPClientConfigFunctionalTe
     public FTPClientConfigFunctionalTest(String arg0) {
         super(arg0);
     }
-
     
-    @SuppressWarnings("unchecked")
     private TreeSet<FTPFile> getSortedList(FTPFile[] files) {
         // create a TreeSet which will sort each element
         // as it is added.
-        TreeSet<FTPFile> sorted = new TreeSet<FTPFile>(new Comparator() {
+        TreeSet<FTPFile> sorted = new TreeSet<FTPFile>(new Comparator<Object>()
{
 
             public int compare(Object o1, Object o2) {
                 FTPFile f1 = (FTPFile) o1;



Mime
View raw message