gnodet commented on a change in pull request #153:
URL: https://github.com/apache/mina-sshd/pull/153#discussion_r462828244



##########
File path: 
sshd-common/src/main/java/org/apache/sshd/common/future/AbstractSshFuture.java
##########
@@ -131,15 +125,6 @@ public boolean awaitUninterruptibly(long timeoutMillis) {
 
         if (Throwable.class.isAssignableFrom(actualType)) {
             Throwable t = GenericUtils.peelException((Throwable) value);
-            if (t != value) {
-                value = t;
-                actualType = value.getClass();
-            }
-
-            if (IOException.class.isAssignableFrom(actualType)) {
-                throw (IOException) value;
-            }
-

Review comment:
       The `value` variable isn't used, but the disconnect code is important to 
keep, I agree.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to