You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/09/20 19:20:17 UTC

svn commit: r999013 - /commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java

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;