Author: gscokart Date: Wed Jun 9 19:26:15 2010 New Revision: 953123 URL: http://svn.apache.org/viewvc?rev=953123&view=rev Log: organize import automatically from eclipse, then manually to remove the one reported as unused by checkstyle (the classes used in the comment)
Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/Ivy.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/ResolveEngine.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/sort/SortEngine.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/ParserSettings.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParser.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorWriter.java ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/ApacheURLLister.java Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/Ivy.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/Ivy.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/Ivy.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/Ivy.java Wed Jun 9 19:26:15 2010 @@ -58,7 +58,6 @@ import org.apache.ivy.core.search.Search import org.apache.ivy.core.settings.IvySettings; import org.apache.ivy.core.sort.SortEngine; import org.apache.ivy.core.sort.SortOptions; -import org.apache.ivy.plugins.circular.CircularDependencyException; import org.apache.ivy.plugins.matcher.PatternMatcher; import org.apache.ivy.plugins.repository.TransferEvent; import org.apache.ivy.plugins.repository.TransferListener; Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java Wed Jun 9 19:26:15 2010 @@ -1,10 +1,10 @@ package org.apache.ivy.core.module.descriptor; -import org.apache.ivy.core.module.id.ModuleRevisionId; - import java.util.ArrayList; import java.util.List; +import org.apache.ivy.core.module.id.ModuleRevisionId; + public class DefaultExtendsDescriptor implements ExtendsDescriptor { private ModuleRevisionId parentRevisionId; Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java Wed Jun 9 19:26:15 2010 @@ -51,7 +51,6 @@ import org.apache.ivy.core.module.id.Mod import org.apache.ivy.core.resolve.IvyNodeCallers.Caller; import org.apache.ivy.core.resolve.IvyNodeEviction.EvictionData; import org.apache.ivy.plugins.conflict.ConflictManager; -import org.apache.ivy.plugins.conflict.LatestCompatibleConflictManager; import org.apache.ivy.plugins.matcher.MatcherHelper; import org.apache.ivy.plugins.resolver.DependencyResolver; import org.apache.ivy.util.Message; Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/ResolveEngine.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/ResolveEngine.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/ResolveEngine.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/ResolveEngine.java Wed Jun 9 19:26:15 2010 @@ -57,7 +57,6 @@ import org.apache.ivy.core.report.Downlo import org.apache.ivy.core.report.DownloadStatus; import org.apache.ivy.core.report.ResolveReport; import org.apache.ivy.core.resolve.IvyNodeEviction.EvictionData; -import org.apache.ivy.core.settings.IvySettings; import org.apache.ivy.core.sort.SortEngine; import org.apache.ivy.core.sort.SortOptions; import org.apache.ivy.plugins.conflict.ConflictManager; Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/sort/SortEngine.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/sort/SortEngine.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/sort/SortEngine.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/sort/SortEngine.java Wed Jun 9 19:26:15 2010 @@ -95,7 +95,8 @@ public class SortEngine { * if a circular dependency exists and circular dependency strategy decide to throw * an exception */ - public List sortModuleDescriptors(Collection moduleDescriptors, SortOptions options) { + public List sortModuleDescriptors(Collection moduleDescriptors, SortOptions options) + throws CircularDependencyException { Checks.checkNotNull(options, "options"); ModuleDescriptorSorter sorter = new ModuleDescriptorSorter(moduleDescriptors, getVersionMatcher(), options.getNonMatchingVersionReporter(), Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/ParserSettings.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/ParserSettings.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/ParserSettings.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/ParserSettings.java Wed Jun 9 19:26:15 2010 @@ -28,7 +28,6 @@ import org.apache.ivy.core.module.status import org.apache.ivy.plugins.conflict.ConflictManager; import org.apache.ivy.plugins.matcher.PatternMatcher; import org.apache.ivy.plugins.namespace.Namespace; -import org.apache.ivy.plugins.namespace.NamespaceTransformer; import org.apache.ivy.plugins.resolver.DependencyResolver; public interface ParserSettings { Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParser.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParser.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParser.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParser.java Wed Jun 9 19:26:15 2010 @@ -33,7 +33,23 @@ import javax.xml.parsers.ParserConfigura import org.apache.ivy.Ivy; import org.apache.ivy.core.IvyContext; import org.apache.ivy.core.cache.ResolutionCacheManager; -import org.apache.ivy.core.module.descriptor.*; +import org.apache.ivy.core.module.descriptor.Configuration; +import org.apache.ivy.core.module.descriptor.ConfigurationAware; +import org.apache.ivy.core.module.descriptor.DefaultArtifact; +import org.apache.ivy.core.module.descriptor.DefaultDependencyArtifactDescriptor; +import org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor; +import org.apache.ivy.core.module.descriptor.DefaultExcludeRule; +import org.apache.ivy.core.module.descriptor.DefaultExtendsDescriptor; +import org.apache.ivy.core.module.descriptor.DefaultIncludeRule; +import org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor; +import org.apache.ivy.core.module.descriptor.DependencyArtifactDescriptor; +import org.apache.ivy.core.module.descriptor.DependencyDescriptor; +import org.apache.ivy.core.module.descriptor.ExcludeRule; +import org.apache.ivy.core.module.descriptor.IncludeRule; +import org.apache.ivy.core.module.descriptor.License; +import org.apache.ivy.core.module.descriptor.MDArtifact; +import org.apache.ivy.core.module.descriptor.ModuleDescriptor; +import org.apache.ivy.core.module.descriptor.OverrideDependencyDescriptorMediator; import org.apache.ivy.core.module.id.ArtifactId; import org.apache.ivy.core.module.id.ModuleId; import org.apache.ivy.core.module.id.ModuleRevisionId; Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorWriter.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorWriter.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorWriter.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorWriter.java Wed Jun 9 19:26:15 2010 @@ -29,7 +29,18 @@ import java.util.Map.Entry; import org.apache.ivy.Ivy; import org.apache.ivy.core.IvyPatternHelper; -import org.apache.ivy.core.module.descriptor.*; +import org.apache.ivy.core.module.descriptor.Artifact; +import org.apache.ivy.core.module.descriptor.Configuration; +import org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor; +import org.apache.ivy.core.module.descriptor.DependencyArtifactDescriptor; +import org.apache.ivy.core.module.descriptor.DependencyDescriptor; +import org.apache.ivy.core.module.descriptor.DependencyDescriptorMediator; +import org.apache.ivy.core.module.descriptor.ExcludeRule; +import org.apache.ivy.core.module.descriptor.ExtendsDescriptor; +import org.apache.ivy.core.module.descriptor.IncludeRule; +import org.apache.ivy.core.module.descriptor.License; +import org.apache.ivy.core.module.descriptor.ModuleDescriptor; +import org.apache.ivy.core.module.descriptor.OverrideDependencyDescriptorMediator; import org.apache.ivy.core.module.id.ModuleRevisionId; import org.apache.ivy.plugins.matcher.MapMatcher; import org.apache.ivy.util.Message; Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/ApacheURLLister.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/ApacheURLLister.java?rev=953123&r1=953122&r2=953123&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/ApacheURLLister.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/ApacheURLLister.java Wed Jun 9 19:26:15 2010 @@ -23,7 +23,6 @@ import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayList; import java.util.List; -import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern;