git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373419 13f79535-47bb-0310-9956-ffa450edef68tags/archiva-0.9-alpha-1
@@ -216,7 +216,10 @@ public abstract class AbstractRepositoryIndex | |||
} | |||
finally | |||
{ | |||
if ( indexReader != null ) indexReader.close(); | |||
if ( indexReader != null ) | |||
{ | |||
indexReader.close(); | |||
} | |||
} | |||
} | |||
@@ -38,7 +38,6 @@ import org.codehaus.plexus.util.FileUtils; | |||
import java.io.File; | |||
import java.io.InputStream; | |||
import java.io.InputStreamReader; | |||
import java.io.IOException; | |||
import java.net.URL; | |||
import java.util.Iterator; | |||
import java.util.List; | |||
@@ -237,10 +236,6 @@ public class MetadataRepositoryIndexingTest | |||
{ | |||
assertTrue ( true ); | |||
} | |||
catch ( IOException ie ) | |||
{ | |||
fail ( "Unexpected IOException thrown: + " + ie.getMessage() ); | |||
} | |||
} | |||
/** |
@@ -37,7 +37,6 @@ import org.codehaus.plexus.util.FileUtils; | |||
import java.io.File; | |||
import java.io.FileReader; | |||
import java.io.IOException; | |||
import java.util.Iterator; | |||
import java.util.List; | |||
@@ -111,10 +110,6 @@ public class PomRepositoryIndexingTest | |||
{ | |||
assertTrue ( true ); | |||
} | |||
catch ( IOException ie ) | |||
{ | |||
fail ( "Unexpected IOException thrown: " + ie.getMessage() ); | |||
} | |||
} | |||
/** |