From 733f95fdf2959897b5226252914c05bdc1e5b333 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 16 Oct 2007 10:48:13 +0000 Subject: [PATCH] seems to me these should be synchronized git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@585106 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/ComponentHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/ComponentHelper.java b/src/main/org/apache/tools/ant/ComponentHelper.java index 866cbc60c..0618c2a93 100644 --- a/src/main/org/apache/tools/ant/ComponentHelper.java +++ b/src/main/org/apache/tools/ant/ComponentHelper.java @@ -696,7 +696,7 @@ public class ComponentHelper { * Called at the start of processing an antlib. * @param uri the uri that is associated with this antlib. */ - public synchronized void enterAntLib(String uri) { + public void enterAntLib(String uri) { antLibCurrentUri = uri; antLibStack.push(uri); } @@ -711,7 +711,7 @@ public class ComponentHelper { /** * Called at the end of processing an antlib. */ - public synchronized void exitAntLib() { + public void exitAntLib() { antLibStack.pop(); antLibCurrentUri = (antLibStack.size() == 0) ? null : (String) antLibStack.peek(); }