You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2011/07/02 23:52:36 UTC
svn commit: r1142321 -
/tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
Author: markt
Date: Sat Jul 2 21:52:35 2011
New Revision: 1142321
URL: http://svn.apache.org/viewvc?rev=1142321&view=rev
Log:
Remove dead code
Modified:
tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
Modified: tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java?rev=1142321&r1=1142320&r2=1142321&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java Sat Jul 2 21:52:35 2011
@@ -64,12 +64,8 @@ public class TestXxxEndpoint extends Tom
// Create the APR address that will be bound
int family = Socket.APR_INET;
if (Library.APR_HAVE_IPV6) {
- if (address == null) {
- if (!OS.IS_BSD && !OS.IS_WIN32 && !OS.IS_WIN64)
- family = Socket.APR_UNSPEC;
- } else if (address.indexOf(':') >= 0) {
+ if (!OS.IS_BSD && !OS.IS_WIN32 && !OS.IS_WIN64)
family = Socket.APR_UNSPEC;
- }
}
long inetAddress = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org