maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r597722 - /maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java
Date Fri, 23 Nov 2007 19:09:48 GMT
Author: hboutemy
Date: Fri Nov 23 11:09:47 2007
New Revision: 597722

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

Modified:
    maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java

Modified: maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java
URL: http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java?rev=597722&r1=597721&r2=597722&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java (original)
+++ maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java Fri Nov 23
11:09:47 2007
@@ -424,7 +424,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