git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@926087
13f79535-47bb-0310-9956-
ffa450edef68
*/
public void addInitParameter(String name, String value) {
+ if (parameters.containsKey(name)) {
+ // The spec does not define this but the TCK expects the first
+ // definition to take precedence
+ return;
+ }
parameters.put(name, value);
}
*/
public void addInitParameter(String name, String value) {
+ if (parameters.containsKey(name)) {
+ // The spec does not define this but the TCK expects the first
+ // definition to take precedence
+ return;
+ }
parameters.put(name, value);
}