Author: markt Date: Fri Jul 29 14:47:25 2016 New Revision: 1754533 URL: http://svn.apache.org/viewvc?rev=1754533&view=rev Log: Remove a possible FIXME. Since the webapp name is used in isWriteable(), it is better that this is in a final variable rather than in the environment where it could be modified.
Modified: tomcat/trunk/java/org/apache/naming/NamingContext.java Modified: tomcat/trunk/java/org/apache/naming/NamingContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/NamingContext.java?rev=1754533&r1=1754532&r2=1754533&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/naming/NamingContext.java (original) +++ tomcat/trunk/java/org/apache/naming/NamingContext.java Fri Jul 29 14:47:25 2016 @@ -88,7 +88,6 @@ public class NamingContext implements Co HashMap<String,NamingEntry> bindings) { this.env = new Hashtable<>(); - // FIXME ? Could be put in the environment ? this.name = name; // Populating the environment hashtable if (env != null ) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org