hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1493735 - in /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio: protocol/HttpAsyncService.java reactor/ssl/SSLIOSession.java
Date Mon, 17 Jun 2013 12:31:50 GMT
Author: sebb
Date: Mon Jun 17 12:31:49 2013
New Revision: 1493735

URL: http://svn.apache.org/r1493735
Log:
Remove unthrown exception from private method

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java?rev=1493735&r1=1493734&r2=1493735&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
Mon Jun 17 12:31:49 2013
@@ -534,7 +534,7 @@ public class HttpAsyncService implements
 
     private void processRequest(
             final NHttpServerConnection conn,
-            final State state) throws HttpException, IOException {
+            final State state) throws IOException {
         final HttpAsyncRequestHandler<Object> handler = state.getRequestHandler();
         final HttpContext context = state.getContext();
         final HttpAsyncRequestConsumer<?> consumer = state.getRequestConsumer();

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java?rev=1493735&r1=1493734&r2=1493735&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
Mon Jun 17 12:31:49 2013
@@ -204,7 +204,7 @@ public class SSLIOSession implements IOS
     //
     // sun.security.pkcs11.wrapper.PKCS11Exception is re-thrown as
     // plain RuntimeException in sun.security.ssl.Handshaker#checkThrown
-    private SSLException convert(final RuntimeException ex) throws SSLException {
+    private SSLException convert(final RuntimeException ex) {
         Throwable cause = ex.getCause();
         if (cause == null) {
             cause = ex;



Mime
View raw message