tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r394493 - /tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/EditConnectorAction.java
Date Sun, 16 Apr 2006 14:28:01 GMT
Author: markt
Date: Sun Apr 16 07:27:59 2006
New Revision: 394493

URL: http://svn.apache.org/viewcvs?rev=394493&view=rev
Log:
Tab police ;)

Modified:
    tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/EditConnectorAction.java

Modified: tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/EditConnectorAction.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/EditConnectorAction.java?rev=394493&r1=394492&r2=394493&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/EditConnectorAction.java
(original)
+++ tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/EditConnectorAction.java
Sun Apr 16 07:27:59 2006
@@ -171,14 +171,14 @@
                 (String.valueOf(mBServer.getAttribute(cname, attribute)));            
             attribute = "address";
             Object addressObject = mBServer.getAttribute(cname, attribute);
-	    String addressStr = "";
-	    if (addressObject instanceof InetAddress){
+            String addressStr = "";
+            if (addressObject instanceof InetAddress){
 	        addressStr = ((InetAddress)addressObject).getHostAddress();
-	    } else if (addressObject instanceof String) {
-	        addressStr = (String) addressObject;
-	    }
-	    connectorFm.setAddress(addressStr);
-	    attribute = "maxKeepAliveRequests";
+            } else if (addressObject instanceof String) {
+                addressStr = (String) addressObject;
+            }
+            connectorFm.setAddress(addressStr);
+            attribute = "maxKeepAliveRequests";
             connectorFm.setMaxKeepAliveText
                 (String.valueOf(mBServer.getAttribute(cname, attribute)));       
             attribute = "maxSpareThreads";



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message