]> source.dussan.org Git - pf4j.git/commitdiff
fix wildcard imports
authorDecebal Suiu <decebal.suiu@gmail.com>
Mon, 18 Jan 2016 20:07:10 +0000 (22:07 +0200)
committerDecebal Suiu <decebal.suiu@gmail.com>
Mon, 18 Jan 2016 20:07:10 +0000 (22:07 +0200)
pf4j/src/main/java/ro/fortsoft/pf4j/ServiceProviderExtensionFinder.java

index 95bf879f23c76818f31f30e477c14b04ccc5d108..80bb4126ee19cd5c650f853ec2233134cc4efaab 100644 (file)
@@ -26,9 +26,21 @@ import java.io.Reader;
 import java.net.URISyntaxException;
 import java.net.URL;
 import java.nio.charset.StandardCharsets;
-import java.nio.file.*;
+import java.nio.file.FileSystem;
+import java.nio.file.FileSystems;
+import java.nio.file.FileVisitOption;
+import java.nio.file.FileVisitResult;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.nio.file.SimpleFileVisitor;
 import java.nio.file.attribute.BasicFileAttributes;
-import java.util.*;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
 
 /**
  * The ServiceLoader base implementation for ExtensionFinder.
@@ -61,6 +73,7 @@ public class ServiceProviderExtensionFinder extends AbstractExtensionFinder {
                     extensionPath = Paths.get(url.toURI());
                 }
                 Files.walkFileTree(extensionPath, Collections.<FileVisitOption>emptySet(), 1, new SimpleFileVisitor<Path>() {
+
                     @Override
                     public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                         log.debug("Read '{}'", file);
@@ -68,6 +81,7 @@ public class ServiceProviderExtensionFinder extends AbstractExtensionFinder {
                         ServiceProviderExtensionStorage.read(reader, bucket);
                         return FileVisitResult.CONTINUE;
                     }
+
                 });
             }