maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r597723 - /maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/Pom.java
Date Fri, 23 Nov 2007 19:11:38 GMT
Author: hboutemy
Date: Fri Nov 23 11:11:37 2007
New Revision: 597723

URL: http://svn.apache.org/viewvc?rev=597723&view=rev
Log:
little code cleanup

Modified:
    maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/Pom.java

Modified: maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/Pom.java
URL: http://svn.apache.org/viewvc/maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/Pom.java?rev=597723&r1=597722&r2=597723&view=diff
==============================================================================
--- maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/Pom.java
(original)
+++ maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/Pom.java
Fri Nov 23 11:11:37 2007
@@ -250,15 +250,15 @@
         return getMavenProject().getCiManagement();
     } //-- CiManagement getCiManagement()
 
-    public java.util.List getContributors()
+    public List getContributors()
     {
         return getMavenProject().getContributors();
-    } //-- java.util.List getContributors()
+    } //-- List getContributors()
 
-    public java.util.List getDependencies()
+    public List getDependencies()
     {
         return getMavenProject().getDependencies();
-    } //-- java.util.List getDependencies()
+    } //-- List getDependencies()
 
     public DependencyManagement getDependencyManagement()
     {
@@ -270,10 +270,10 @@
         return getMavenProject().getDescription();
     } //-- String getDescription()
 
-    public java.util.List getDevelopers()
+    public List getDevelopers()
     {
         return getMavenProject().getDevelopers();
-    } //-- java.util.List getDevelopers()
+    } //-- List getDevelopers()
 
     public DistributionManagement getDistributionManagement()
     {
@@ -295,25 +295,25 @@
         return getMavenProject().getIssueManagement();
     } //-- IssueManagement getIssueManagement()
 
-    public java.util.List getLicenses()
+    public List getLicenses()
     {
         return getMavenProject().getLicenses();
-    } //-- java.util.List getLicenses()
+    } //-- List getLicenses()
 
-    public java.util.List getMailingLists()
+    public List getMailingLists()
     {
         return getMavenProject().getMailingLists();
-    } //-- java.util.List getMailingLists()
+    } //-- List getMailingLists()
 
     public String getModelVersion()
     {
         return getMavenProject().getModelVersion();
     } //-- String getModelVersion()
 
-    public java.util.List getModules()
+    public List getModules()
     {
         return getMavenProject().getModules();
-    } //-- java.util.List getModules()
+    } //-- List getModules()
 
     public String getName()
     {
@@ -330,20 +330,20 @@
         return getMavenProject().getPackaging();
     } //-- String getPackaging()
 
-    public java.util.List getPluginRepositories()
+    public List getPluginRepositories()
     {
         return getMavenProject().getPluginRepositories();
-    } //-- java.util.List getPluginRepositories()
+    } //-- List getPluginRepositories()
 
     public Reporting getReporting()
     {
         return getMavenProject().getReporting();
     } //-- Reports getReports()
 
-    public java.util.List getRepositories()
+    public List getRepositories()
     {
         return getMavenProject().getRepositories();
-    } //-- java.util.List getRepositories()
+    } //-- List getRepositories()
 
     public Scm getScm()
     {
@@ -397,7 +397,6 @@
          */
         public Object getPropertyHook( String ns, String name, boolean user )
         {
-
             String prefix = antId + ".";
 
             if ( !name.startsWith( prefix ) )
@@ -424,7 +423,7 @@
 
             try
             {
-                if ( expression.indexOf( "project.properties." ) >= 0 )
+                if ( expression.startsWith( "project.properties." ) )
                 {
                     expression = expression.substring( 19 );
                     value = getMavenProject().getProperties().get( expression );



Mime
View raw message