Statement unnecessarily nested within else clause.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/trunk@1698025 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java b/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java
index 7cc987e..c153bd4 100644
--- a/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java
+++ b/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java
@@ -689,9 +689,8 @@
     private RequestWrapper wrapRequest(final HttpRequest request) throws ProtocolException {
         if (request instanceof HttpEntityEnclosingRequest) {
             return new EntityEnclosingRequestWrapper((HttpEntityEnclosingRequest) request);
-        } else {
-            return new RequestWrapper(request);
         }
+        return new RequestWrapper(request);
     }
 
     protected void rewriteRequestURI(
@@ -854,9 +853,8 @@
                     this.targetAuthStrategy, this.targetAuthState, this.localContext)) {
                 // Re-try the same request via the same route
                 return this.mainRequest;
-            } else {
-                return null;
             }
+            return null;
         }
         return null;
     }
@@ -871,9 +869,8 @@
                     this.proxyAuthStrategy, this.proxyAuthState, this.localContext)) {
                 // Re-try the same request via the same route
                 return this.mainRequest;
-            } else {
-                return null;
             }
+            return null;
         }
         return null;
     }
diff --git a/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/conn/ManagedClientAsyncConnectionImpl.java b/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/conn/ManagedClientAsyncConnectionImpl.java
index 77f183a..621b3fc 100644
--- a/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/conn/ManagedClientAsyncConnectionImpl.java
+++ b/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/conn/ManagedClientAsyncConnectionImpl.java
@@ -136,9 +136,8 @@
         final ClientAsyncConnection conn = getConnection();
         if (conn != null) {
             return conn.isOpen();
-        } else {
-            return false;
         }
+        return false;
     }
 
     @Override
@@ -278,9 +277,8 @@
         final IOSession iosession = conn.getIOSession();
         if (iosession instanceof SSLIOSession) {
             return ((SSLIOSession) iosession).getSSLSession();
-        } else {
-            return null;
         }
+        return null;
     }
 
     @Override
@@ -447,9 +445,8 @@
     public synchronized String toString() {
         if (this.poolEntry != null) {
             return this.poolEntry.toString();
-        } else {
-            return "released";
         }
+        return "released";
     }
 
 }
diff --git a/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncScheme.java b/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncScheme.java
index 9e01ab5..e9ebbe1 100644
--- a/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncScheme.java
+++ b/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncScheme.java
@@ -99,9 +99,8 @@
             return this.name.equals(that.name)
                 && this.defaultPort == that.defaultPort
                 && this.strategy.equals(that.strategy);
-        } else {
-            return false;
         }
+        return false;
     }
 
     @Override
diff --git a/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java b/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java
index 21dd86a..485d67d 100644
--- a/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java
+++ b/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java
@@ -156,9 +156,8 @@
         final CPoolEntry local = this.poolEntry;
         if (local != null) {
             return !local.isClosed();
-        } else {
-            return false;
         }
+        return false;
     }
 
     @Override
@@ -166,9 +165,8 @@
         final NHttpClientConnection conn = getConnection();
         if (conn != null) {
             return !conn.isOpen();
-        } else {
-            return false;
         }
+        return false;
     }
 
     @Override
diff --git a/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/ManagedNHttpClientConnectionImpl.java b/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/ManagedNHttpClientConnectionImpl.java
index e52d9c1..1ec810c 100644
--- a/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/ManagedNHttpClientConnectionImpl.java
+++ b/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/ManagedNHttpClientConnectionImpl.java
@@ -109,9 +109,8 @@
     public SSLSession getSSLSession() {
         if (this.original instanceof SSLIOSession) {
             return ((SSLIOSession) this.original).getSSLSession();
-        } else {
-            return null;
         }
+        return null;
     }
 
     @Override