Author: kkolinko Date: Thu Jan 21 20:09:46 2016 New Revision: 1726082 URL: http://svn.apache.org/viewvc?rev=1726082&view=rev Log: Reduce visibility of deployment methods that accept both path and name.
Modified: tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java Modified: tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java?rev=1726082&r1=1726081&r2=1726082&view=diff ============================================================================== --- tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java (original) +++ tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java Thu Jan 21 20:09:46 2016 @@ -522,7 +522,7 @@ public class Tomcat { return addContext(host, contextPath, contextPath, dir); } - public Context addContext(Host host, String contextPath, String contextName, + private Context addContext(Host host, String contextPath, String contextName, String dir) { // silence(host, contextPath); Context ctx = createContext(host, contextPath); @@ -551,7 +551,7 @@ public class Tomcat { * @deprecated Use {@link #addWebapp(Host, String, String)} */ @Deprecated - public Context addWebapp(Host host, String contextPath, String name, String docBase) { + private Context addWebapp(Host host, String contextPath, String name, String docBase) { // silence(host, contextPath); Context ctx = createContext(host, contextPath); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org