diff --git a/.automation/test/java/java_good_1.java b/.automation/test/java/java_good_1.java index 56f8c880..3b9810e5 100644 --- a/.automation/test/java/java_good_1.java +++ b/.automation/test/java/java_good_1.java @@ -1,13 +1,13 @@ package com.superlinter.JavaGood; /* This is a simple Java program. - FileName : "HelloWorld.java". */ + FileName : "HelloWorld.java" */ /** * Represents a good Java file */ -class JavaGood { - // Prints "Hello, World" to the terminal window. - public static void main(final String[] args) { +public static class JavaGood { + // Prints "Hello, World" to the terminal window + private void JavaGood() { System.out.println("Hello, World"); } }