Skip to content

Commit 35c47b6

Browse files
Removed HideUtilityConstructor as its not working with SpringBoot
1 parent b87c300 commit 35c47b6

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

checkstyle/checkstyle.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ See https://checkstyle.org/ for more information.
6969
<module name="UnnecessarySemicolonInEnumeration"/>
7070
<module name="UnnecessarySemicolonInTryWithResources"/>
7171
<module name="InnerTypeLast"/>
72-
<module name="HideUtilityClassConstructor"/>
7372
<module name="InterfaceIsType"/>
7473
<module name="MutableException"/>
7574
<module name="OneTopLevelClass"/>

checkstyle/suppressions.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
<suppressions>
2-
<suppress files="SpringBootApplication.java" checks="HideUtilityClassConstructor" />
3-
</suppressions>

src/main/java/net/javadiscord/javabot/Bot.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ public class Bot {
107107
* @param args Command-line arguments.
108108
* @throws Exception If any exception occurs during bot creation.
109109
*/
110-
@SuppressWarnings("checkstyle:hideutilityclassconstructor")
111110
public static void main(String[] args) throws Exception {
112111
TimeZone.setDefault(TimeZone.getTimeZone(ZoneOffset.UTC));
113112
config = new BotConfig(Path.of("config"));

0 commit comments

Comments
 (0)