cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6793] Adding few SuppressWarnings to a test
Date Mon, 22 Feb 2016 15:53:42 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 9e8956bee -> b74ab38aa


[CXF-6793] Adding few SuppressWarnings to a test


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/b74ab38a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b74ab38a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b74ab38a

Branch: refs/heads/master
Commit: b74ab38aac3c528536fae863216b1a38ac82b6dd
Parents: 9e8956b
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Feb 22 15:53:23 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Feb 22 15:53:23 2016 +0000

----------------------------------------------------------------------
 .../java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b74ab38a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
index 4a6ac39..d02e117 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
@@ -252,6 +252,7 @@ public class JAXRSAsyncClientTest extends AbstractBusClientServerTestBase
{
         wc.close();
     }
     
+    @SuppressWarnings("rawtypes")
     @Test
     public void testGenericInvocationCallback() throws Exception {
         InvocationCallback<?> callback = createGenericInvocationCallback();
@@ -262,6 +263,9 @@ public class JAXRSAsyncClientTest extends AbstractBusClientServerTestBase
{
         assertTrue(((GenericInvocationCallback)callback).getResult().readEntity(Boolean.class));
     }
     
+    @SuppressWarnings({
+     "unchecked", "rawtypes"
+    })
     private static <T> InvocationCallback<T> createGenericInvocationCallback()
{
         return new GenericInvocationCallback();
     }


Mime
View raw message