hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [33/34] httpcomponents-core git commit: Removed @ThreadSafe annotations
Date Tue, 09 May 2017 20:03:02 GMT
Removed @ThreadSafe annotations

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.3.x@1632769
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/1f0b7c45
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/1f0b7c45
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/1f0b7c45

Branch: refs/heads/4.3.x
Commit: 1f0b7c45f3838546ef65a488058e2024ab0f8d01
Parents: 3b68483
Author: Oleg Kalnichevski <olegk@apache.org>
Authored: Sat Oct 18 11:39:19 2014 +0000
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Sat Oct 18 11:39:19 2014 +0000

----------------------------------------------------------------------
 .../org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java | 2 --
 .../org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java    | 2 --
 .../org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java   | 2 --
 3 files changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/1f0b7c45/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java
b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java
index b579271..b9f6474 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java
@@ -33,7 +33,6 @@ import org.apache.http.HttpEntity;
 import org.apache.http.HttpEntityEnclosingRequest;
 import org.apache.http.HttpException;
 import org.apache.http.HttpRequest;
-import org.apache.http.annotation.ThreadSafe;
 import org.apache.http.entity.ContentType;
 import org.apache.http.nio.ContentDecoder;
 import org.apache.http.nio.IOControl;
@@ -46,7 +45,6 @@ import org.apache.http.protocol.HttpContext;
  *
  * @since 4.2
  */
-@ThreadSafe
 public abstract class AbstractAsyncRequestConsumer<T> implements HttpAsyncRequestConsumer<T>
{
 
     private final AtomicBoolean completed;

http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/1f0b7c45/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
index e4b23bd..aca38da 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
@@ -32,7 +32,6 @@ import org.apache.http.ContentTooLongException;
 import org.apache.http.HttpEntity;
 import org.apache.http.HttpEntityEnclosingRequest;
 import org.apache.http.HttpRequest;
-import org.apache.http.annotation.ThreadSafe;
 import org.apache.http.entity.ContentType;
 import org.apache.http.nio.ContentDecoder;
 import org.apache.http.nio.IOControl;
@@ -49,7 +48,6 @@ import org.apache.http.util.Asserts;
  *
  * @since 4.2
  */
-@ThreadSafe
 public class BasicAsyncRequestConsumer extends AbstractAsyncRequestConsumer<HttpRequest>
{
 
     private volatile HttpRequest request;

http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/1f0b7c45/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java
b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java
index 29196bd..10c3c40 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java
@@ -31,7 +31,6 @@ import java.io.IOException;
 import org.apache.http.ContentTooLongException;
 import org.apache.http.HttpEntity;
 import org.apache.http.HttpResponse;
-import org.apache.http.annotation.ThreadSafe;
 import org.apache.http.entity.ContentType;
 import org.apache.http.nio.ContentDecoder;
 import org.apache.http.nio.IOControl;
@@ -48,7 +47,6 @@ import org.apache.http.util.Asserts;
  *
  * @since 4.2
  */
-@ThreadSafe
 public class BasicAsyncResponseConsumer extends AbstractAsyncResponseConsumer<HttpResponse>
{
 
     private volatile HttpResponse response;


Mime
View raw message