You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2005/05/02 17:10:10 UTC
Bug 34680 - may I fix it?
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