ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r608165 - in /ant/ivy/core/trunk/src/java/org/apache/ivy: core/settings/IvySettings.java plugins/IvyAware.java plugins/latest/AbstractLatestStrategy.java
Date Wed, 02 Jan 2008 18:04:47 GMT
Author: xavier
Date: Wed Jan  2 10:04:45 2008
New Revision: 608165

URL: http://svn.apache.org/viewvc?rev=608165&view=rev
Log:
remove unusued IvyAware interface

Removed:
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/IvyAware.java
Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/latest/AbstractLatestStrategy.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java?rev=608165&r1=608164&r2=608165&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java Wed Jan  2 10:04:45
2008
@@ -54,7 +54,6 @@
 import org.apache.ivy.core.resolve.ResolveEngineSettings;
 import org.apache.ivy.core.retrieve.RetrieveEngineSettings;
 import org.apache.ivy.core.sort.SortEngineSettings;
-import org.apache.ivy.plugins.IvyAware;
 import org.apache.ivy.plugins.IvySettingsAware;
 import org.apache.ivy.plugins.circular.CircularDependencyStrategy;
 import org.apache.ivy.plugins.circular.ErrorCircularDependencyStrategy;
@@ -1225,10 +1224,6 @@
             ((IvySettingsAware) obj).setSettings(this);
         } else if (obj instanceof DependencyResolver) {
             ((DependencyResolver) obj).setSettings(this);
-        }
-        if (obj instanceof IvyAware) {
-            // TODO
-            // ((IvyAware)obj).setIvy(this);
         }
     }
 

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/latest/AbstractLatestStrategy.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/latest/AbstractLatestStrategy.java?rev=608165&r1=608164&r2=608165&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/latest/AbstractLatestStrategy.java
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/latest/AbstractLatestStrategy.java
Wed Jan  2 10:04:45 2008
@@ -21,21 +21,8 @@
 import java.util.List;
 import java.util.ListIterator;
 
-import org.apache.ivy.Ivy;
-import org.apache.ivy.plugins.IvyAware;
-
-public abstract class AbstractLatestStrategy implements LatestStrategy, IvyAware {
+public abstract class AbstractLatestStrategy implements LatestStrategy {
     private String name;
-
-    private Ivy ivy;
-
-    public Ivy getIvy() {
-        return ivy;
-    }
-
-    public void setIvy(Ivy ivy) {
-        this.ivy = ivy;
-    }
 
     public String getName() {
         return name;



Mime
View raw message