> + // Remove the specified attribute
> + synchronized (attributes) {
> + // Check for read only attribute
> + if (readOnlyAttributes.containsKey(name))
> + return;
> + found = attributes.containsKey(name);
> + if (found) {
> + value = attributes.get(name);
> + attributes.remove(name);
> + } else {
> + return;
> + }
> + }
Requests are per-thread, so the synchronized is unnecessary.
--
To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
|