diff options
author | Olivier Lamy <olamy@apache.org> | 2014-04-17 10:46:06 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-04-17 10:46:06 +1000 |
commit | 2132965397ca7d93a66c2eea3dfce98ca377268d (patch) | |
tree | 7062be19f897e4664b78190f864b76b8a29cbd30 /archiva-cli | |
parent | 0a21a1167f0688c014b0f28b6af9cf5408a687ab (diff) | |
download | archiva-2132965397ca7d93a66c2eea3dfce98ca377268d.tar.gz archiva-2132965397ca7d93a66c2eea3dfce98ca377268d.zip |
more code simplification with 1.7 features
Diffstat (limited to 'archiva-cli')
-rw-r--r-- | archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java | 4 |
1 files changed, 1 insertions, 3 deletions
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 ); |