From: markt Date: Fri, 20 Feb 2009 18:17:29 +0000 (+0000) Subject: Fix spelling X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=525357daacb7bb3e06bfe00e9edb8c301687a3e6;p=tomcat7.0 Fix spelling git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@746321 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/javax/servlet/resources/web-app_2_4.xsd b/java/javax/servlet/resources/web-app_2_4.xsd index 9ab849016..fe21d8453 100644 --- a/java/javax/servlet/resources/web-app_2_4.xsd +++ b/java/javax/servlet/resources/web-app_2_4.xsd @@ -99,7 +99,7 @@ file must not contain multiple elements of session-config, jsp-config, and login-config. When there are multiple elements of welcome-file-list or locale-encoding-mapping-list, the container - must concatinate the element contents. The multiple occurance + must concatinate the element contents. The multiple occurrence of the element distributable is redundant and the container treats that case exactly in the same way when there is only one distributable. diff --git a/java/org/apache/catalina/startup/WebRuleSet.java b/java/org/apache/catalina/startup/WebRuleSet.java index 16c142392..951b79a62 100644 --- a/java/org/apache/catalina/startup/WebRuleSet.java +++ b/java/org/apache/catalina/startup/WebRuleSet.java @@ -539,7 +539,7 @@ final class SetLoginConfig extends Rule { throws Exception { if (isLoginConfigSet){ throw new IllegalArgumentException( - " element is limited to 1 occurance"); + " element is limited to 1 occurrence"); } isLoginConfigSet = true; } @@ -560,7 +560,7 @@ final class SetJspConfig extends Rule { throws Exception { if (isJspConfigSet){ throw new IllegalArgumentException( - " element is limited to 1 occurance"); + " element is limited to 1 occurrence"); } isJspConfigSet = true; } @@ -581,7 +581,7 @@ final class SetSessionConfig extends Rule { throws Exception { if (isSessionConfigSet){ throw new IllegalArgumentException( - " element is limited to 1 occurance"); + " element is limited to 1 occurrence"); } isSessionConfigSet = true; }