hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1726980 - in /httpcomponents/httpcore/trunk/httpcore5/src: main/java/org/apache/hc/core5/http/message/ test/java/org/apache/hc/core5/http/impl/ test/java/org/apache/hc/core5/http/message/
Date Wed, 27 Jan 2016 09:36:31 GMT
Author: ggregory
Date: Wed Jan 27 09:36:31 2016
New Revision: 1726980

URL: http://svn.apache.org/viewvc?rev=1726980&view=rev
Log:
Add missing serial version ID (default 1L).

Modified:
    httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/AbstractHttpMessage.java
    httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpRequest.java
    httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpResponse.java
    httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/impl/TestDefaultContentLengthStrategy.java
    httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/message/TestAbstractMessage.java

Modified: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/AbstractHttpMessage.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/AbstractHttpMessage.java?rev=1726980&r1=1726979&r2=1726980&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/AbstractHttpMessage.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/AbstractHttpMessage.java
Wed Jan 27 09:36:31 2016
@@ -40,6 +40,7 @@ import org.apache.hc.core5.util.Args;
 @NotThreadSafe
 public abstract class AbstractHttpMessage extends HeaderGroup implements HttpMessage<HttpEntity>
{
 
+    private static final long serialVersionUID = 1L;
     private HttpEntity entity;
 
     @Override

Modified: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpRequest.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpRequest.java?rev=1726980&r1=1726979&r2=1726980&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpRequest.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpRequest.java
Wed Jan 27 09:36:31 2016
@@ -42,6 +42,7 @@ import org.apache.hc.core5.util.Args;
 @NotThreadSafe
 public class BasicHttpRequest extends AbstractHttpMessage implements HttpRequest {
 
+    private static final long serialVersionUID = 1L;
     private final String method;
     private final String uri;
 

Modified: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpResponse.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpResponse.java?rev=1726980&r1=1726979&r2=1726980&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpResponse.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicHttpResponse.java
Wed Jan 27 09:36:31 2016
@@ -47,6 +47,7 @@ import org.apache.hc.core5.util.Args;
 @NotThreadSafe
 public class BasicHttpResponse extends AbstractHttpMessage implements HttpResponse {
 
+    private static final long serialVersionUID = 1L;
     private StatusLine          statusline;
     private ProtocolVersion     ver;
     private int                 code;

Modified: httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/impl/TestDefaultContentLengthStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/impl/TestDefaultContentLengthStrategy.java?rev=1726980&r1=1726979&r2=1726980&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/impl/TestDefaultContentLengthStrategy.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/impl/TestDefaultContentLengthStrategy.java
Wed Jan 27 09:36:31 2016
@@ -41,6 +41,8 @@ public class TestDefaultContentLengthStr
 
     static class TestHttpMessage extends AbstractHttpMessage {
 
+        private static final long serialVersionUID = 1L;
+
         @Override
         public ProtocolVersion getProtocolVersion() {
             return HttpVersion.HTTP_1_1;

Modified: httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/message/TestAbstractMessage.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/message/TestAbstractMessage.java?rev=1726980&r1=1726979&r2=1726980&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/message/TestAbstractMessage.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/message/TestAbstractMessage.java
Wed Jan 27 09:36:31 2016
@@ -41,6 +41,8 @@ public class TestAbstractMessage {
 
     static class TestHttpMessage extends AbstractHttpMessage {
 
+        private static final long serialVersionUID = 1L;
+
         @Override
         public ProtocolVersion getProtocolVersion() {
             return HttpVersion.HTTP_1_1;



Mime
View raw message