ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r1336088 - /ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java
Date Wed, 09 May 2012 11:07:07 GMT
Author: maartenc
Date: Wed May  9 11:07:06 2012
New Revision: 1336088

URL: http://svn.apache.org/viewvc?rev=1336088&view=rev
Log:
Added static getDefaultInstance(Task) method for backwards compatibility reasons.

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java?rev=1336088&r1=1336087&r2=1336088&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java Wed May  9 11:07:06
2012
@@ -136,6 +136,13 @@ public class IvyAntSettings extends Data
             return (IvyAntSettings) defaultInstanceObj;
         }
     }
+
+    /*
+     * Keep this for backwards compatibility!
+     */
+    public static IvyAntSettings getDefaultInstance(Task task) {
+        return getDefaultInstance((ProjectComponent) task);
+    }
     
     public File getFile() {
         return file;



Mime
View raw message