cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1304393 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
Date Fri, 23 Mar 2012 14:54:45 GMT
Author: dkulp
Date: Fri Mar 23 14:54:45 2012
New Revision: 1304393

URL: http://svn.apache.org/viewvc?rev=1304393&view=rev
Log:
Remove unused method (causing an eclipse warning)

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java?rev=1304393&r1=1304392&r2=1304393&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
Fri Mar 23 14:54:45 2012
@@ -575,18 +575,7 @@ public class ProviderFactoryTest extends
         }
         return index;
     }
-    
-    private int indexOf(List<? extends Object> providerInfos, Object provider) {
-        int index = 0;
-        for (Object pi : providerInfos) {
-            if (((ProviderInfo<?>)pi).getProvider() == provider) {
-                break;
-            }
-            index++;
-        }
-        return index;
-    }
-    
+
     @Consumes("text/html")
     @Produces("text/html")
     private final class TestStringProvider 



Mime
View raw message