more fixes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163507 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-09 06:53:46 +00:00
parent d23845bbcb
commit 262e7085a5
1 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,11 @@ public class Main
if ( reverse )
{
if ( !backup.exists() )
{
System.err.println( "skipping... backup exists" );
continue;
}
FileUtils.copyFile( backup, file );
backup.delete();
}
@ -85,6 +90,7 @@ public class Main
if ( backup.exists() )
{
System.err.println( "skipping... backup exists" );
continue;
}
FileReader fileReader = new FileReader( file );