Remove unnecessary code
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 15 Apr 2009 12:26:25 +0000 (12:26 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 15 Apr 2009 12:26:25 +0000 (12:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@765153 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/AprEndpoint.java

index 31e9d09..e79b9b2 100644 (file)
@@ -597,9 +597,7 @@ public class AprEndpoint {
         serverSockPool = Pool.create(rootPool);
         // Create the APR address that will be bound
         String addressStr = null;
-        if (address == null) {
-            addressStr = null;
-        } else {
+        if (address != null) {
             addressStr = address.getHostAddress();
         }
         int family = Socket.APR_INET;