ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Bug 34680 - may I fix it?
Date Mon, 02 May 2005 15:10:10 GMT
or would anybody prefer to keep the setter at package private access?
All other setters in this class are public as well.

Stefan

Trivial patch is

Index: src/main/org/apache/tools/ant/helper/AntXMLContext.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/AntXMLContext.java,v
retrieving revision 1.11
diff -u -r1.11 AntXMLContext.java
--- src/main/org/apache/tools/ant/helper/AntXMLContext.java	25 Apr 2005 10:15:11 -0000	1.11
+++ src/main/org/apache/tools/ant/helper/AntXMLContext.java	2 May 2005 15:09:24 -0000
@@ -357,7 +357,7 @@
      * Set the map of the targets in the current source file.
      * @param currentTargets a map of targets.
      */
-    void setCurrentTargets(Map currentTargets) {
+    public void setCurrentTargets(Map currentTargets) {
         this.currentTargets = currentTargets;
     }
 

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


Mime
View raw message