fix integration tests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-13 11:22:02 +00:00
parent 567412e9a0
commit 0c305115a6
1 changed files with 2 additions and 4 deletions

View File

@ -149,8 +149,6 @@ public class Verifier
} }
lines.addAll( replaceArtifacts( line ) ); lines.addAll( replaceArtifacts( line ) );
lines.add( line );
} }
reader.close(); reader.close();
@ -179,7 +177,7 @@ public class Verifier
newLine += convertArtifact( artifact ); newLine += convertArtifact( artifact );
newLine += line.substring( index + 1 ); newLine += line.substring( index + 1 );
index = newLine.indexOf( "SNAPSHOT" ); index = newLine.lastIndexOf( "SNAPSHOT" );
if ( index >= 0 ) if ( index >= 0 )
{ {
List l = new ArrayList(); List l = new ArrayList();
@ -189,7 +187,7 @@ public class Verifier
} }
else else
{ {
return Collections.singletonList( line ); return Collections.singletonList( newLine );
} }
} }
else else