Skip to content

Commit c682ac4

Browse files
committed
ApplicationBootstrap: suppress complains from PMD/CheckStyle.
Should be in 4aea262 commit. No functional changes.
1 parent 4aea262 commit c682ac4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/ru/mystamps/web/support/spring/boot/ApplicationBootstrap.java

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
import ru.mystamps.web.config.ApplicationContext;
3030
import ru.mystamps.web.config.DispatcherServletContext;
3131

32+
// PMD: "All methods are static" here because it's a program entry point.
33+
// CheckStyle: I cannot declare the constructor as private because app won't start.
34+
@SuppressWarnings({ "PMD.UseUtilityClass", "checkstyle:hideutilityclassconstructor" })
3235
@EnableAutoConfiguration
3336
@Import({
3437
ApplicationContext.class,

0 commit comments

Comments
 (0)