From 2132965397ca7d93a66c2eea3dfce98ca377268d Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 17 Apr 2014 10:46:06 +1000 Subject: more code simplification with 1.7 features --- archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'archiva-cli') diff --git a/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java b/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java index 25e994773..ae433878d 100644 --- a/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java +++ b/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java @@ -38,8 +38,6 @@ import org.apache.maven.artifact.manager.WagonManager; import org.springframework.context.support.ClassPathXmlApplicationContext; import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; @@ -255,7 +253,7 @@ public class ArchivaCli } private void doConversion( String properties ) - throws FileNotFoundException, IOException, RepositoryConversionException, PlexusSisuBridgeException + throws IOException, RepositoryConversionException, PlexusSisuBridgeException { LegacyRepositoryConverter legacyRepositoryConverter = lookup( LegacyRepositoryConverter.class ); -- cgit v1.2.3