diff --git a/java/src/org/openqa/selenium/grid/config/Config.java b/java/src/org/openqa/selenium/grid/config/Config.java index 2c83d621e6005..2b9e899746311 100644 --- a/java/src/org/openqa/selenium/grid/config/Config.java +++ b/java/src/org/openqa/selenium/grid/config/Config.java @@ -49,7 +49,9 @@ default Optional getBool(String section, String option) { default Optional>> getArray(String section, String option) { Optional> flatConfigs = getAll(section, option); - if (!flatConfigs.isPresent()) return Optional.empty(); + if (!flatConfigs.isPresent()) { + return Optional.empty(); + } List configItem = new ArrayList<>(); List> configList = new ArrayList<>();