Skip to content

Commit 0375849

Browse files
committed
chore(playground-server): Update checkstyle suppressions and config
1 parent f8178eb commit 0375849

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(mvn checkstyle:check:*)"
5+
],
6+
"deny": [],
7+
"ask": []
8+
}
9+
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE suppressions PUBLIC "-//Checkstyle//DTD Suppression DTD//EN" "https://checkstyle.org/dtds/suppressions_1_2.dtd">
22
<suppressions>
33
<suppress checks="MissingJavadocMethod" files=".*\.java" />
4-
<suppress checks="HideUtilityClassConstructor" files="org/lzwjava/.*\.java"/>
5-
<suppress checks="DesignForExtension" files="org/lzwjava/.*\.java"/>
6-
<suppress checks="BanSystemOut" files="org/lzwjava/Application.java"/>
4+
<suppress checks="HideUtilityClassConstructor" files="src/main/java/org/lzw/.*\.java"/>
5+
<suppress checks="DesignForExtension" files="src/main/java/org/lzw/.*\.java"/>
6+
<suppress checks="BanSystemOut" files="src/main/java/org/lzw/Application.java"/>
77
</suppressions>
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
package org.lzw;
22

3+
import org.slf4j.Logger;
4+
import org.slf4j.LoggerFactory;
5+
36
public class Application {
47

8+
private static final Logger log = LoggerFactory.getLogger(Application.class);
9+
510
public static void main(String[] args) {
6-
System.out.println("Application started without Spring Boot");
11+
log.info("Application started without Spring Boot");
712
}
813
}

0 commit comments

Comments
 (0)