Project: Tomcat
Bug 48118 two misspellings in the javadoc of class "org.apache.catalina.startup.Embeded"
Reported: 2009-11-04 01:33:03 | Status: resolved fixed

Line: 230 /** * Return true if redirction of standard streams is enabled. */ public boolean isRedirectStreams() { return (this.redirectStreams); } 'redirection' was misspelled to 'redirction' Line: 875 /** Initialize naming - this should only enable java:env and root naming. * If tomcat is embeded in an application that already defines those - * it shouldn't do it. * * XXX The 2 should be separated, you may want to enable java: but not * the initial context and the reverse * XXX Can we "guess" - i.e. lookup java: and if something is returned assume * false ? * XXX We have a major problem with the current setting for java: url */ protected void initNaming() { 'embedded' was mispelled to 'embeded'

Files changed in fix:
java/org/apache/catalina/startup/Embedded.java