diff --git a/webgoat-container/src/main/java/org/owasp/webgoat/plugins/PluginExtractor.java b/webgoat-container/src/main/java/org/owasp/webgoat/plugins/PluginExtractor.java index ae5052d76..ef04c1d70 100644 --- a/webgoat-container/src/main/java/org/owasp/webgoat/plugins/PluginExtractor.java +++ b/webgoat-container/src/main/java/org/owasp/webgoat/plugins/PluginExtractor.java @@ -17,8 +17,6 @@ import java.util.zip.ZipFile; /** * Extract the jar file and place them in the system temp directory in the folder webgoat and collect the files * and classes. - * - * @version $Id: $Id */ public class PluginExtractor { @@ -36,10 +34,6 @@ public class PluginExtractor { boolean processed = processClassFile(zipEntry); if (!processed) { - * @param target a {@link java.nio.file.Path} object. - */ - public void extract(final Path target) { - try (FileSystem zip = createZipFileSystem()) { processed = processPropertyFile(zipFile, zipEntry, targetDirectory); } if (!processed) { @@ -94,21 +88,11 @@ public class PluginExtractor { return targetFile; } - /** - *
Getter for the field classes
.
Getter for the field files
.
refresh.
- */ - public static void refresh() { pluginLabels.clearCache(); }