File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/net/javadiscord/javabot/api Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 66import org .springframework .beans .factory .annotation .Value ;
77import org .springframework .boot .web .embedded .tomcat .TomcatServletWebServerFactory ;
88import org .springframework .context .annotation .Bean ;
9+ import org .springframework .context .annotation .Configuration ;
910
1011/**
1112 * Holds all configuration for the {@link org.springframework.boot.autoconfigure.web.ServerProperties.Tomcat}
1213 * web service.
1314 */
15+ @ Configuration
1416public class TomcatConfig {
1517
1618 @ Value ("${tomcat.ajp.port}" )
17- int ajpPort ;
19+ private int ajpPort ;
1820
1921 @ Value ("${tomcat.ajp.enabled}" )
20- boolean tomcatAjpEnabled ;
22+ private boolean tomcatAjpEnabled ;
2123
2224 /**
2325 * Sets up the {@link TomcatServletWebServerFactory} using the {@link Value}s defined in the
You can’t perform that action at this time.
0 commit comments