Merge pull request #37211 from dkswnkk

* pr/37211:
  Capitalize order constant in TomcatWebServerFactoryCustomizer

Closes gh-37211
pull/37260/head
Moritz Halbritter 1 year ago
commit 7f8bf1ccd8

@ -41,7 +41,7 @@ public class TomcatVirtualThreadsWebServerFactoryCustomizer
@Override
public int getOrder() {
return TomcatWebServerFactoryCustomizer.order + 1;
return TomcatWebServerFactoryCustomizer.ORDER + 1;
}
}

@ -67,7 +67,7 @@ import org.springframework.util.unit.DataSize;
public class TomcatWebServerFactoryCustomizer
implements WebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>, Ordered {
static final int order = 0;
static final int ORDER = 0;
private final Environment environment;
@ -80,7 +80,7 @@ public class TomcatWebServerFactoryCustomizer
@Override
public int getOrder() {
return order;
return ORDER;
}
@Override

Loading…
Cancel
Save