mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 23:51:07 -05:00
fix xml check, add javadoc
This commit is contained in:
parent
a1dd6f3835
commit
59badeabdd
2 changed files with 6 additions and 4 deletions
|
@ -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");
|
||||||
|
|
2
.github/linters/sun_checks.xml
vendored
2
.github/linters/sun_checks.xml
vendored
|
@ -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 -->
|
||||||
|
|
Loading…
Reference in a new issue