Merge pull request #83 from dougmorato/master

Fixing inconsistent merge issues implementing nbaars fixes
This commit is contained in:
mayhew64 2015-09-18 13:33:20 -04:00
commit 376a26c3fb
2 changed files with 1 additions and 22 deletions

View File

@ -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 * Extract the jar file and place them in the system temp directory in the folder webgoat and collect the files
* and classes. * and classes.
*
* @version $Id: $Id
*/ */
public class PluginExtractor { public class PluginExtractor {
@ -36,10 +34,6 @@ public class PluginExtractor {
boolean processed = processClassFile(zipEntry); boolean processed = processClassFile(zipEntry);
if (!processed) { 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); processed = processPropertyFile(zipFile, zipEntry, targetDirectory);
} }
if (!processed) { if (!processed) {
@ -94,21 +88,11 @@ public class PluginExtractor {
return targetFile; return targetFile;
} }
/**
* <p>Getter for the field <code>classes</code>.</p>
*
* @return a {@link java.util.List} object.
*/
public List<String> getClasses() { public List<String> getClasses() {
return this.classes; return this.classes;
} }
/**
* <p>Getter for the field <code>files</code>.</p>
*
* @return a {@link java.util.List} object.
*/
public List<Path> getFiles() { public List<Path> getFiles() {
return this.files; return this.files;
} }
} }

View File

@ -92,11 +92,6 @@ public class LabelProvider {
return Thread.currentThread().getContextClassLoader(); return Thread.currentThread().getContextClassLoader();
} }
}); });
/**
* <p>refresh.</p>
*/
public static void refresh() {
pluginLabels.clearCache(); pluginLabels.clearCache();
} }