You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2016/02/22 16:53:42 UTC

cxf git commit: [CXF-6793] Adding few SuppressWarnings to a test

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 <sb...@gmail.com>
Authored: Mon Feb 22 15:53:23 2016 +0000
Committer: Sergey Beryozkin <sb...@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();
     }