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 2021/04/08 08:16:53 UTC
[tomcat] 02/03: Better align 10.0.x, 9.0.x and 8.5.x
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 50591b715d4b6ba7e771eac597c794cee4bc1c87
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 8 09:16:00 2021 +0100
Better align 10.0.x, 9.0.x and 8.5.x
---
java/org/apache/catalina/core/StandardHost.java | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/java/org/apache/catalina/core/StandardHost.java b/java/org/apache/catalina/core/StandardHost.java
index bf8a096..b275117 100644
--- a/java/org/apache/catalina/core/StandardHost.java
+++ b/java/org/apache/catalina/core/StandardHost.java
@@ -209,19 +209,12 @@ public class StandardHost extends ContainerBase implements Host {
}
- /**
- * Return the application root for this Host. This can be an absolute
- * pathname, a relative pathname, or a URL.
- */
@Override
public String getAppBase() {
return this.appBase;
}
- /**
- * ({@inheritDoc}
- */
@Override
public File getAppBaseFile() {
@@ -248,15 +241,8 @@ public class StandardHost extends ContainerBase implements Host {
}
- /**
- * Set the application root for this Host. This can be an absolute
- * pathname, a relative pathname, or a URL.
- *
- * @param appBase The new application root
- */
@Override
public void setAppBase(String appBase) {
-
if (appBase.trim().equals("")) {
log.warn(sm.getString("standardHost.problematicAppBase", getName()));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org