You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by as...@apache.org on 2010/03/25 08:24:40 UTC

svn commit: r927291 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java

Author: asankha
Date: Thu Mar 25 07:24:39 2010
New Revision: 927291

URL: http://svn.apache.org/viewvc?rev=927291&view=rev
Log:
fix spelling

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

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java?rev=927291&r1=927290&r2=927291&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java Thu Mar 25 07:24:39 2010
@@ -341,12 +341,12 @@ public class AsyncNHttpServiceHandler ex
 
         try {
 
-            IOException ioex = connState.getIOExepction();
+            IOException ioex = connState.getIOException();
             if (ioex != null) {
                 throw ioex;
             }
 
-            HttpException httpex = connState.getHttpExepction();
+            HttpException httpex = connState.getHttpException();
             if (httpex != null) {
                 HttpResponse response = this.responseFactory.newHttpResponse(HttpVersion.HTTP_1_0,
                         HttpStatus.SC_INTERNAL_SERVER_ERROR, context);
@@ -605,19 +605,19 @@ public class AsyncNHttpServiceHandler ex
             this.producingEntity = producingEntity;
         }
 
-        public IOException getIOExepction() {
+        public IOException getIOException() {
             return this.ioex;
         }
 
-        public void setIOExepction(final IOException ex) {
+        public void setIOException(final IOException ex) {
             this.ioex = ex;
         }
 
-        public HttpException getHttpExepction() {
+        public HttpException getHttpException() {
             return this.httpex;
         }
 
-        public void setHttpExepction(final HttpException ex) {
+        public void setHttpException(final HttpException ex) {
             this.httpex = ex;
         }
 
@@ -661,7 +661,7 @@ public class AsyncNHttpServiceHandler ex
                 throw new IllegalStateException("Response already triggered");
             }
             this.triggered = true;
-            this.connState.setHttpExepction(ex);
+            this.connState.setHttpException(ex);
             this.iocontrol.requestOutput();
         }
 
@@ -670,7 +670,7 @@ public class AsyncNHttpServiceHandler ex
                 throw new IllegalStateException("Response already triggered");
             }
             this.triggered = true;
-            this.connState.setIOExepction(ex);
+            this.connState.setIOException(ex);
             this.iocontrol.requestOutput();
         }