hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1376469 - in /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol: BasicAsyncRequestConsumer.java BasicAsyncResponseConsumer.java
Date Thu, 23 Aug 2012 12:50:01 GMT
Author: olegk
Date: Thu Aug 23 12:50:01 2012
New Revision: 1376469

URL: http://svn.apache.org/viewvc?rev=1376469&view=rev
Log:
Fixed typo

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java?rev=1376469&r1=1376468&r2=1376469&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java
Thu Aug 23 12:50:01 2012
@@ -66,7 +66,7 @@ public class BasicAsyncRequestConsumer e
             if (entity != null) {
                 long len = entity.getContentLength();
                 if (len > Integer.MAX_VALUE) {
-                    throw new ContentTooLongException("Entity content is not long: " + len);
+                    throw new ContentTooLongException("Entity content is too long: " + len);
                 }
                 if (len < 0) {
                     len = 4096;

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java?rev=1376469&r1=1376468&r2=1376469&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java
Thu Aug 23 12:50:01 2012
@@ -64,7 +64,7 @@ public class BasicAsyncResponseConsumer 
         if (entity != null) {
             long len = entity.getContentLength();
             if (len > Integer.MAX_VALUE) {
-                throw new ContentTooLongException("Entity content is not long: " + len);
+                throw new ContentTooLongException("Entity content is too long: " + len);
             }
             if (len < 0) {
                 len = 4096;



Mime
View raw message