From c39d673439e807d02c873d2040e8d2399e8dbf7d Mon Sep 17 00:00:00 2001 From: nbaars Date: Sun, 4 Jan 2015 13:27:35 +0100 Subject: [PATCH] removed main method used for testing --- src/main/java/org/owasp/webgoat/plugins/Plugin.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/main/java/org/owasp/webgoat/plugins/Plugin.java b/src/main/java/org/owasp/webgoat/plugins/Plugin.java index 3d25d84e3..7d34b361e 100644 --- a/src/main/java/org/owasp/webgoat/plugins/Plugin.java +++ b/src/main/java/org/owasp/webgoat/plugins/Plugin.java @@ -6,9 +6,6 @@ import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; -import java.nio.file.StandardOpenOption; -import java.util.Arrays; -import java.util.List; public class Plugin { @@ -68,14 +65,4 @@ public class Plugin { return null; //return lessonSolutionHtml; } - - public static void main(String[] args) throws Exception { - Path tempDir = Files.createTempDirectory("tempfiles"); - - Path tempFile = Files.createTempFile(tempDir, "tempfiles", ".tmp"); - List lines = Arrays.asList("Line1", "Line2"); - Files.write(tempFile, lines, Charset.defaultCharset(), StandardOpenOption.WRITE); - - System.out.printf("Wrote text to temporary file %s%n", tempFile.toString()); -} }