mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-10 11:03:38 -05:00
32b3cde716
* Enable @SuppressWarnings annotation support by default for Java checkstyle * Ensure that args is used * Add updates to the sun_checks in .github/linters * Comment out Javadoc linter to remove need for package-info * Fix expected-JAVA.tap to match new test cases * Fix expected-JAVA.tap to match output Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
12 lines
1.2 KiB
Text
12 lines
1.2 KiB
Text
TAP version 13
|
|
1..4
|
|
not ok 1 - java_bad_1.java
|
|
---
|
|
message: Starting audit...\n[ERROR] /tmp/lint/.automation/test/java/java_bad_1.java 1 1 Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]\n[ERROR] /tmp/lint/.automation/test/java/java_bad_1.java 1 7 Name 'java_bad_1' must match pattern '^[A-Z][a-zA-Z0-9]*$'. [TypeName]\n[ERROR] /tmp/lint/.automation/test/java/java_bad_1.java 2 1 '{' at column 1 should be on the previous line. [LeftCurly]\n[ERROR] /tmp/lint/.automation/test/java/java_bad_1.java 4 29 Parameter args should be final. [FinalParameters]\n[ERROR] /tmp/lint/.automation/test/java/java_bad_1.java 4 40 Array brackets at illegal position. [ArrayTypeStyle]\n[ERROR] /tmp/lint/.automation/test/java/java_bad_1.java 5 5 '{' at column 5 should be on the previous line. [LeftCurly]\nAudit done.\nCheckstyle ends with 6 errors.\n
|
|
...
|
|
not ok 2 - java_bad_2.java
|
|
---
|
|
message: Starting audit...\n[ERROR] /tmp/lint/.automation/test/java/java_bad_2.java 1 1 Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]\nAudit done.\nCheckstyle ends with 1 errors.\n
|
|
...
|
|
ok 3 - java_good_1.java
|
|
ok 4 - java_good_2.java
|