Remove unused code as identified by UCDetector
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 18 Sep 2010 21:41:44 +0000 (21:41 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 18 Sep 2010 21:41:44 +0000 (21:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@998554 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/AbstractEndpoint.java
java/org/apache/tomcat/util/net/NioEndpoint.java

index 9e31028..3ec598c 100644 (file)
@@ -489,11 +489,6 @@ public abstract class AbstractEndpoint {
         return newPath;
     }
     
-    public String defaultIfNull(String val, String defaultValue) {
-        if (val==null) return defaultValue;
-        return val;
-    }
-    
     protected abstract Log getLog();
     public abstract boolean getUseSendfile();
 
index c0967d7..e48bfd9 100644 (file)
@@ -953,10 +953,6 @@ public class NioEndpoint extends AbstractEndpoint {
             }
         }
         
-        public void wakeup() {
-            selector.wakeup();
-        }
-
         /**
          * Add specified socket and associated pool to the poller. The socket will
          * be added to a temporary array, and polled first after a maximum amount