hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r756294 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpDelete.java
Date Fri, 20 Mar 2009 01:51:10 GMT
Author: sebb
Date: Fri Mar 20 01:51:09 2009
New Revision: 756294

URL: http://svn.apache.org/viewvc?rev=756294&view=rev
Log:
As with other methods, not currently thread-safe

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpDelete.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpDelete.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpDelete.java?rev=756294&r1=756293&r2=756294&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpDelete.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpDelete.java
Fri Mar 20 01:51:09 2009
@@ -33,6 +33,8 @@
 
 import java.net.URI;
 
+import net.jcip.annotations.NotThreadSafe;
+
 /**
  * HTTP DELETE method
  * <p>
@@ -48,6 +50,7 @@
  *
  * @since 4.0
  */
+@NotThreadSafe // HttpRequestBase is @NotThreadSafe
 public class HttpDelete extends HttpRequestBase {
 
     public final static String METHOD_NAME = "DELETE";



Mime
View raw message