fix xml check, add javadoc

This commit is contained in:
Thomas Hughes 2020-08-05 16:50:12 -05:00
parent a1dd6f3835
commit 59badeabdd
No known key found for this signature in database
GPG key ID: B2D8646423EF5814
2 changed files with 6 additions and 4 deletions

View file

@ -1,9 +1,11 @@
package com.superlinter.JavaGood;
/* This is a simple Java program. /* This is a simple Java program.
FileName : "HelloWorld.java". */ FileName : "HelloWorld.java". */
package com.superlinter.JavaGood; /**
* Represents a good Java file
public class JavaGood { */
class JavaGood {
// Prints "Hello, World" to the terminal window. // Prints "Hello, World" to the terminal window.
public static void main(final String[] args) { public static void main(final String[] args) {
System.out.println("Hello, World"); System.out.println("Hello, World");

View file

@ -58,7 +58,7 @@
<!-- Checks that a package-info.java file exists for each package. --> <!-- Checks that a package-info.java file exists for each package. -->
<!-- See https://checkstyle.org/config_javadoc.html#JavadocPackage --> <!-- See https://checkstyle.org/config_javadoc.html#JavadocPackage -->
<module name="JavadocPackage"/> <!-- <module name="JavadocPackage"/> -->
<!-- Checks whether files end with a new line. --> <!-- Checks whether files end with a new line. -->
<!-- See https://checkstyle.org/config_misc.html#NewlineAtEndOfFile --> <!-- See https://checkstyle.org/config_misc.html#NewlineAtEndOfFile -->