Skip to content

Commit

Permalink
Reflecting code review: Using Boolean.getBoolean
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatej committed Jun 9, 2022
1 parent ec02bb6 commit f279428
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -5004,7 +5004,7 @@ public void loadOnStartup(Container children[]) throws LifecycleException {
loadServlet(wrapper);
}

if (Boolean.parseBoolean(System.getProperty("glassfish.servlet.loadAllOnStartup", "false"))) {
if (Boolean.getBoolean("glassfish.servlet.loadAllOnStartup")) {
// Also load the other servlets, which is one way to pass the CDI TCK, specifically
// ContainerEventTest#testProcessInjectionTargetEventFiredForServlet and adhere to the rule
// that injection points for Servlets have to be processed during start.
Expand Down

0 comments on commit f279428

Please sign in to comment.