hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1493736 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java
Date Mon, 17 Jun 2013 12:34:15 GMT
Author: sebb
Date: Mon Jun 17 12:34:14 2013
New Revision: 1493736

URL: http://svn.apache.org/r1493736
Log:
No need to suppress deprecation warnings for items in the same class
It is assumed the class knows what it is doing

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java?rev=1493736&r1=1493735&r2=1493736&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java
Mon Jun 17 12:34:14 2013
@@ -54,7 +54,6 @@ public class ByteArrayEntity extends Abs
     /**
      * @since 4.2
      */
-    @SuppressWarnings("deprecation")
     public ByteArrayEntity(final byte[] b, final ContentType contentType) {
         super();
         Args.notNull(b, "Source byte array");
@@ -70,7 +69,6 @@ public class ByteArrayEntity extends Abs
     /**
      * @since 4.2
      */
-    @SuppressWarnings("deprecation")
     public ByteArrayEntity(final byte[] b, final int off, final int len, final ContentType
contentType) {
         super();
         Args.notNull(b, "Source byte array");



Mime
View raw message