hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asan...@apache.org
Subject svn commit: r1061455 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/AbstractContentEncoder.java
Date Thu, 20 Jan 2011 18:57:42 GMT
Author: asankha
Date: Thu Jan 20 18:57:41 2011
New Revision: 1061455

URL: http://svn.apache.org/viewvc?rev=1061455&view=rev
Log:
fix error message shown - as this is an encoder

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/AbstractContentEncoder.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/AbstractContentEncoder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/AbstractContentEncoder.java?rev=1061455&r1=1061454&r2=1061455&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/AbstractContentEncoder.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/AbstractContentEncoder.java
Thu Jan 20 18:57:41 2011
@@ -85,7 +85,7 @@ public abstract class AbstractContentEnc
 
     protected void assertNotCompleted() {
         if (this.completed) {
-            throw new IllegalStateException("Decoding process already completed");
+            throw new IllegalStateException("Encoding process already completed");
         }
     }
 



Mime
View raw message