Explorar el Código

small tweaks


git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373419 13f79535-47bb-0310-9956-ffa450edef68
tags/archiva-0.9-alpha-1
Brett Porter hace 18 años
padre
commit
ad0403b208

+ 4
- 1
maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/AbstractRepositoryIndex.java Ver fichero

@@ -216,7 +216,10 @@ public abstract class AbstractRepositoryIndex
}
finally
{
if ( indexReader != null ) indexReader.close();
if ( indexReader != null )
{
indexReader.close();
}
}
}


+ 0
- 5
maven-repository-indexer/src/test/java/org/apache/maven/repository/indexing/MetadataRepositoryIndexingTest.java Ver fichero

@@ -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() );
}
}
/**

+ 0
- 5
maven-repository-indexer/src/test/java/org/apache/maven/repository/indexing/PomRepositoryIndexingTest.java Ver fichero

@@ -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() );
}
}

/**

Cargando…
Cancelar
Guardar