hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1406430 - in /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity: NByteArrayEntity.java NFileEntity.java NStringEntity.java
Date Wed, 07 Nov 2012 03:07:36 GMT
Author: sebb
Date: Wed Nov  7 03:07:36 2012
New Revision: 1406430

URL: http://svn.apache.org/viewvc?rev=1406430&view=rev
Log:
Missing @Deprecated

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NByteArrayEntity.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NStringEntity.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NByteArrayEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NByteArrayEntity.java?rev=1406430&r1=1406429&r2=1406430&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NByteArrayEntity.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NByteArrayEntity.java
Wed Nov  7 03:07:36 2012
@@ -125,6 +125,7 @@ public class NByteArrayEntity extends Ab
      *
      * @deprecated (4.2) use {@link #close()}
      */
+    @Deprecated
     public void finish() {
         close();
     }

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java?rev=1406430&r1=1406429&r2=1406430&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java
Wed Nov  7 03:07:36 2012
@@ -140,6 +140,7 @@ public class NFileEntity extends Abstrac
      *
      * @deprecated (4.2) use {@link #close()}
      */
+    @Deprecated
     public void finish() throws IOException {
         close();
     }

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NStringEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NStringEntity.java?rev=1406430&r1=1406429&r2=1406430&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NStringEntity.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NStringEntity.java
Wed Nov  7 03:07:36 2012
@@ -167,6 +167,7 @@ public class NStringEntity extends Abstr
      *
      * @deprecated (4.2) use {@link #close()}
      */
+    @Deprecated
     public void finish() {
         close();
     }



Mime
View raw message