hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1726977 - /httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/testserver/nio/HttpServerNio.java
Date Wed, 27 Jan 2016 09:28:54 GMT
Author: ggregory
Date: Wed Jan 27 09:28:54 2016
New Revision: 1726977

URL: http://svn.apache.org/viewvc?rev=1726977&view=rev
Log:
The declared exception IOException is not actually thrown by the method start() from type
HttpServerNio.

Modified:
    httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/testserver/nio/HttpServerNio.java

Modified: httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/testserver/nio/HttpServerNio.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/testserver/nio/HttpServerNio.java?rev=1726977&r1=1726976&r2=1726977&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/testserver/nio/HttpServerNio.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore5/src/test/java/org/apache/hc/core5/http/testserver/nio/HttpServerNio.java
Wed Jan 27 09:28:54 2016
@@ -97,7 +97,7 @@ public class HttpServerNio {
         throw new IllegalStateException("Server not running");
     }
 
-    public void start() throws IOException {
+    public void start() {
         Asserts.check(this.server == null, "Server already running");
         this.server = ServerBootstrap.bootstrap()
                 .setIOReactorConfig(IOReactorConfig.custom()



Mime
View raw message