maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-core-it-verifier/src/main/java/org/apache/maven/it Verifier.java
Date Wed, 13 Apr 2005 11:22:02 GMT
brett       2005/04/13 04:22:02

  Modified:    maven-core-it-verifier/src/main/java/org/apache/maven/it
                        Verifier.java
  Log:
  fix integration tests
  
  Revision  Changes    Path
  1.31      +3 -5      maven-components/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
  
  Index: Verifier.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Verifier.java	13 Apr 2005 08:31:38 -0000	1.30
  +++ Verifier.java	13 Apr 2005 11:22:02 -0000	1.31
  @@ -149,8 +149,6 @@
                   }
   
                   lines.addAll( replaceArtifacts( line ) );
  -
  -                lines.add( line );
               }
   
               reader.close();
  @@ -179,7 +177,7 @@
               newLine += convertArtifact( artifact );
               newLine += line.substring( index + 1 );
   
  -            index = newLine.indexOf( "SNAPSHOT" );
  +            index = newLine.lastIndexOf( "SNAPSHOT" );
               if ( index >= 0 )
               {
                   List l = new ArrayList();
  @@ -189,7 +187,7 @@
               }
               else
               {
  -                return Collections.singletonList( line );
  +                return Collections.singletonList( newLine );
               }
           }
           else
  
  
  

Mime
View raw message