You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2014/12/17 21:21:47 UTC

cxf git commit: Remove unnecessary annotation when using Java7 (which is our default)

Repository: cxf
Updated Branches:
  refs/heads/master 4cd282670 -> 431db5275


Remove unnecessary annotation when using Java7 (which is our default)


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

Branch: refs/heads/master
Commit: 431db5275e3a056d6cedf4608533197580cb6073
Parents: 4cd2826
Author: Daniel Kulp <dk...@apache.org>
Authored: Wed Dec 17 15:21:28 2014 -0500
Committer: Daniel Kulp <dk...@apache.org>
Committed: Wed Dec 17 15:21:28 2014 -0500

----------------------------------------------------------------------
 core/src/main/java/org/apache/cxf/helpers/IOUtils.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/431db527/core/src/main/java/org/apache/cxf/helpers/IOUtils.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/helpers/IOUtils.java b/core/src/main/java/org/apache/cxf/helpers/IOUtils.java
index aab3ab9..3aff6d5 100644
--- a/core/src/main/java/org/apache/cxf/helpers/IOUtils.java
+++ b/core/src/main/java/org/apache/cxf/helpers/IOUtils.java
@@ -66,7 +66,6 @@ public final class IOUtils {
             // ignore
         }
         // it may be an attachment stream
-        @SuppressWarnings("resource")
         PushbackInputStream pbStream = 
             is instanceof PushbackInputStream ? (PushbackInputStream)is : new PushbackInputStream(is);
         boolean isEmpty = isEof(pbStream.read(bytes));