ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r585106 - /ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java
Date Tue, 16 Oct 2007 10:48:28 GMT
Author: stevel
Date: Tue Oct 16 03:48:13 2007
New Revision: 585106

URL: http://svn.apache.org/viewvc?rev=585106&view=rev
Log:
seems to me these should be synchronized

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java?rev=585106&r1=585105&r2=585106&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java Tue Oct 16 03:48:13
2007
@@ -696,7 +696,7 @@
      * 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 @@
     /**
      * 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();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message