File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
src/main/java/de/thetaphi/forbiddenapis/cli Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 2121import java .io .File ;
2222import java .io .FileInputStream ;
2323import java .io .IOException ;
24- import java .util .*;
2524import java .net .JarURLConnection ;
26- import java .net .URLConnection ;
27- import java .net .URLClassLoader ;
25+ import java .net .MalformedURLException ;
2826import java .net .URISyntaxException ;
2927import java .net .URL ;
30- import java .net .MalformedURLException ;
28+ import java .net .URLClassLoader ;
29+ import java .net .URLConnection ;
30+ import java .util .Arrays ;
31+ import java .util .EnumSet ;
32+ import java .util .LinkedHashSet ;
33+ import java .util .Locale ;
3134import java .util .zip .ZipEntry ;
3235import java .util .zip .ZipInputStream ;
3336
@@ -215,7 +218,7 @@ private void printHelp(Options options) {
215218 }
216219
217220 public void run () throws ExitException {
218- File classesDirectory = new File (cmd .getOptionValue (dirOpt .getLongOpt ())).getAbsoluteFile ();
221+ final File classesDirectory = new File (cmd .getOptionValue (dirOpt .getLongOpt ())).getAbsoluteFile ();
219222 if (!classesDirectory .exists ()) {
220223 throw new ExitException (EXIT_ERR_OTHER , "Directory with class files does not exist: " + classesDirectory );
221224 }
You can’t perform that action at this time.
0 commit comments