Author: markt
Date: Mon Mar 25 14:28:30 2013
New Revision: 1460680

URL: http://svn.apache.org/r1460680
Log:
Remove deprecated code

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1460680&r1=1460679&r2=1460680&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Mon Mar 25 
14:28:30 2013
@@ -205,12 +205,6 @@ public class StandardContext extends Con
     private InstanceManager instanceManager = null;
 
 
-   /**
-     * Associated host name.
-     */
-    private String hostName;
-
-
     /**
      * The antiJARLocking flag for this Context.
      */
@@ -5869,21 +5863,6 @@ public class StandardContext extends Con
     }
 
 
-    /**
-     * @deprecated  Unused. Will be removed in Tomcat 8.0.x.
-     */
-    @Deprecated
-    public String getHostname() {
-        Container parentHost = getParent();
-        if (parentHost != null) {
-            hostName = parentHost.getName();
-        }
-        if ((hostName == null) || (hostName.length() < 1))
-            hostName = "_";
-        return hostName;
-    }
-
-
     @Override
     public boolean fireRequestInitEvent(ServletRequest request) {
 



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

Reply via email to