cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1055584 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/UriBuilderImplTest.java
Date Wed, 05 Jan 2011 19:03:21 GMT
Author: dkulp
Date: Wed Jan  5 19:03:21 2011
New Revision: 1055584

URL: http://svn.apache.org/viewvc?rev=1055584&view=rev
Log:
[CXF-3085] Fix warning

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/UriBuilderImplTest.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/UriBuilderImplTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/UriBuilderImplTest.java?rev=1055584&r1=1055583&r2=1055584&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/UriBuilderImplTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/UriBuilderImplTest.java
Wed Jan  5 19:03:21 2011
@@ -633,10 +633,9 @@ public class UriBuilderImplTest extends 
     }
     
     @Test
-    @SuppressWarnings("all")
     public void testNullQueryParamValues() {
         try {
-            UriBuilder.fromPath("http://localhost:8080").queryParam("hello", null);
+            UriBuilder.fromPath("http://localhost:8080").queryParam("hello", (Object[])null);
             fail("Should be IllegalArgumentException");
         } catch (IllegalArgumentException ex) {
             //expected



Mime
View raw message