cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [1/2] cxf git commit: Add a supresswarnings to get eclipse to be "clean" again
Date Fri, 22 May 2015 17:05:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/master db51e1a99 -> 1d29e0af1


Add a supresswarnings to get eclipse to be "clean" again


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

Branch: refs/heads/master
Commit: ab3817f5068d88c60dc15ce52504435f9b715c1b
Parents: db51e1a
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri May 22 13:03:56 2015 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri May 22 13:03:56 2015 -0400

----------------------------------------------------------------------
 .../transport/websocket/atmosphere/DefaultProtocolInterceptor.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/ab3817f5/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
index 710a90c..2c05c6d 100644
--- a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
+++ b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
@@ -100,6 +100,7 @@ public class DefaultProtocolInterceptor extends AtmosphereInterceptorAdapter
{
         this.excludedheaders = excludedheaders;
     }
 
+    @SuppressWarnings("deprecation")
     @Override
     public Action inspect(final AtmosphereResource r) {
         LOG.log(Level.FINE, "inspect");
@@ -245,6 +246,7 @@ public class DefaultProtocolInterceptor extends AtmosphereInterceptorAdapter
{
     private final class Interceptor extends AsyncIOInterceptorAdapter {
 
         @Override
+        @SuppressWarnings("deprecation")
         public byte[] transformPayload(AtmosphereResponse response, byte[] responseDraft,
byte[] data) 
             throws IOException {
             if (LOG.isLoggable(Level.INFO)) {


Mime
View raw message