From 83ba1cbcc7522d048230a3ecda991a2c296880fb Mon Sep 17 00:00:00 2001 From: Mohamed Maaliki Date: Sun, 28 Aug 2022 06:02:59 +0100 Subject: [PATCH] remove redundant `evilMethod` --- test/project/source/Test.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/project/source/Test.java b/test/project/source/Test.java index c92912c..3e33907 100644 --- a/test/project/source/Test.java +++ b/test/project/source/Test.java @@ -18,13 +18,8 @@ public Test() { } public static void main(String... args) { - evilMethod("output.txt", "I know what I'm doing."); new Test(); - System.out.println("Test.a = " + a); - } - - public static void evilMethod(String file, String contents) { - Files.writeString(Path.of(file), contents); + log("Test.a = " + a); } private static void log(Object output) {