[java] fix formatting and match other driver service constructors
@@ -66,7 +66,9 @@ public SafariDriverService(
Duration timeout,
List<String> args,
Map<String, String> environment) throws IOException {
- super(executable, port, timeout, args, environment);
+ super(executable, port, timeout,
+ unmodifiableList(new ArrayList<>(args)),
+ unmodifiableMap(new HashMap<>(environment)));
}
public static SafariDriverService createDefaultService() {
