hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1725777 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/
Date Wed, 20 Jan 2016 19:14:32 GMT
Author: ggregory
Date: Wed Jan 20 19:14:31 2016
New Revision: 1725777

URL: http://svn.apache.org/viewvc?rev=1725777&view=rev
Log:
Serializable classes do not declare serialVersionUID.

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/AbstractExecutionAwareRequest.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpDelete.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpGet.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpHead.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpOptions.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPatch.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPost.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPut.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestBase.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestWrapper.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpTrace.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/RequestBuilder.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/AbstractExecutionAwareRequest.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/AbstractExecutionAwareRequest.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/AbstractExecutionAwareRequest.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/AbstractExecutionAwareRequest.java
Wed Jan 20 19:14:31 2016
@@ -35,6 +35,7 @@ import org.apache.hc.core5.http.message.
 
 public abstract class AbstractExecutionAwareRequest extends AbstractHttpMessage implements
HttpExecutionAware, HttpRequest {
 
+    private static final long serialVersionUID = 1L;
     private final AtomicBoolean aborted;
     private final AtomicReference<Cancellable> cancellableRef;
 

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpDelete.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpDelete.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpDelete.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpDelete.java
Wed Jan 20 19:14:31 2016
@@ -49,6 +49,7 @@ import org.apache.hc.core5.annotation.No
 @NotThreadSafe // HttpRequestBase is @NotThreadSafe
 public class HttpDelete extends HttpRequestBase {
 
+    private static final long serialVersionUID = 1L;
     public final static String METHOD_NAME = "DELETE";
 
 

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpGet.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpGet.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpGet.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpGet.java
Wed Jan 20 19:14:31 2016
@@ -50,6 +50,7 @@ import org.apache.hc.core5.annotation.No
 @NotThreadSafe
 public class HttpGet extends HttpRequestBase {
 
+    private static final long serialVersionUID = 1L;
     public final static String METHOD_NAME = "GET";
 
     public HttpGet() {

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpHead.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpHead.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpHead.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpHead.java
Wed Jan 20 19:14:31 2016
@@ -53,6 +53,7 @@ import org.apache.hc.core5.annotation.No
 @NotThreadSafe
 public class HttpHead extends HttpRequestBase {
 
+    private static final long serialVersionUID = 1L;
     public final static String METHOD_NAME = "HEAD";
 
     public HttpHead() {

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpOptions.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpOptions.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpOptions.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpOptions.java
Wed Jan 20 19:14:31 2016
@@ -58,6 +58,7 @@ import org.apache.hc.core5.util.Args;
 @NotThreadSafe
 public class HttpOptions extends HttpRequestBase {
 
+    private static final long serialVersionUID = 1L;
     public final static String METHOD_NAME = "OPTIONS";
 
     public HttpOptions() {

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPatch.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPatch.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPatch.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPatch.java
Wed Jan 20 19:14:31 2016
@@ -53,6 +53,7 @@ import org.apache.hc.core5.annotation.No
 @NotThreadSafe
 public class HttpPatch extends HttpRequestBase {
 
+    private static final long serialVersionUID = 1L;
     public final static String METHOD_NAME = "PATCH";
 
     public HttpPatch() {

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPost.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPost.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPost.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPost.java
Wed Jan 20 19:14:31 2016
@@ -57,6 +57,7 @@ import org.apache.hc.core5.annotation.No
 @NotThreadSafe
 public class HttpPost extends HttpRequestBase {
 
+    private static final long serialVersionUID = 1L;
     public final static String METHOD_NAME = "POST";
 
     public HttpPost() {

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPut.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPut.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPut.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpPut.java
Wed Jan 20 19:14:31 2016
@@ -49,6 +49,7 @@ import org.apache.hc.core5.annotation.No
 @NotThreadSafe
 public class HttpPut extends HttpRequestBase {
 
+    private static final long serialVersionUID = 1L;
     public final static String METHOD_NAME = "PUT";
 
     public HttpPut() {

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestBase.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestBase.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestBase.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestBase.java
Wed Jan 20 19:14:31 2016
@@ -45,6 +45,7 @@ import org.apache.hc.core5.http.message.
 public abstract class HttpRequestBase extends AbstractExecutionAwareRequest
     implements HttpUriRequest, Configurable {
 
+    private static final long serialVersionUID = 1L;
     private ProtocolVersion version;
     private URI uri;
     private RequestConfig config;

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestWrapper.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestWrapper.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestWrapper.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpRequestWrapper.java
Wed Jan 20 19:14:31 2016
@@ -48,6 +48,7 @@ import org.apache.hc.core5.util.Args;
 @NotThreadSafe
 public class HttpRequestWrapper extends AbstractHttpMessage implements HttpUriRequest {
 
+    private static final long serialVersionUID = 1L;
     private final HttpRequest original;
     private final HttpHost target;
     private final String method;

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpTrace.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpTrace.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpTrace.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/HttpTrace.java
Wed Jan 20 19:14:31 2016
@@ -52,6 +52,7 @@ import org.apache.hc.core5.annotation.No
 @NotThreadSafe
 public class HttpTrace extends HttpRequestBase {
 
+    private static final long serialVersionUID = 1L;
     public final static String METHOD_NAME = "TRACE";
 
     public HttpTrace() {

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/RequestBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/RequestBuilder.java?rev=1725777&r1=1725776&r2=1725777&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/RequestBuilder.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/methods/RequestBuilder.java
Wed Jan 20 19:14:31 2016
@@ -485,6 +485,7 @@ public class RequestBuilder {
 
     static class InternalRequest extends HttpRequestBase {
 
+        private static final long serialVersionUID = 1L;
         private final String method;
 
         InternalRequest(final String method) {



Mime
View raw message