cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1355383 - in /cxf/trunk: api/src/main/java/org/apache/cxf/common/util/ParamReader.java api/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java rt/transports/http/src/main/java/org/apache/cxf/transport/http/ChunkedUtil.java
Date Fri, 29 Jun 2012 13:47:40 GMT
Author: dkulp
Date: Fri Jun 29 13:47:39 2012
New Revision: 1355383

URL: http://svn.apache.org/viewvc?rev=1355383&view=rev
Log:
Remove some suppresswarning things that are still creating
errors/warnging

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/common/util/ParamReader.java
    cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ChunkedUtil.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/common/util/ParamReader.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/common/util/ParamReader.java?rev=1355383&r1=1355382&r2=1355383&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/common/util/ParamReader.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/common/util/ParamReader.java Fri Jun 29 13:47:39
2012
@@ -131,7 +131,6 @@ public class ParamReader extends ClassRe
 
         try {
             // get a parameter reader
-            @SuppressWarnings("resource")
             ParamReader pr = new ParamReader(c);
             // get the parameter names
             return pr.getParameterNames(method);

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java?rev=1355383&r1=1355382&r2=1355383&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java Fri Jun
29 13:47:39 2012
@@ -59,7 +59,6 @@ public class StaxOutInterceptor extends 
         addAfter(AttachmentOutInterceptor.class.getName());
     }
 
-    @SuppressWarnings("resource")
     public void handleMessage(Message message) {
         OutputStream os = message.getContent(OutputStream.class);
         XMLStreamWriter xwriter = message.getContent(XMLStreamWriter.class);

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ChunkedUtil.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ChunkedUtil.java?rev=1355383&r1=1355382&r2=1355383&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ChunkedUtil.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ChunkedUtil.java
Fri Jun 29 13:47:39 2012
@@ -78,7 +78,6 @@ final class ChunkedUtil {
      * @param connection the given HttpURLConnection
      * @return an input stream containing the response content if non-empty
      */
-    @SuppressWarnings("resource")
     private static InputStream getNonEmptyContent(
         HttpURLConnection connection
     ) {



Mime
View raw message