String.join() is not available pre-Java8
This commit is contained in:
parent
42291e3cfd
commit
7367af57cf
|
@ -251,7 +251,7 @@ public abstract class MovAvgModel {
|
|||
|
||||
protected void checkUnrecognizedParams(@Nullable Map<String, Object> settings) throws ParseException {
|
||||
if (settings != null && settings.size() > 0) {
|
||||
throw new ParseException("Unrecognized parameter(s): [" + String.join(", ", settings.keySet()) + "]", 0);
|
||||
throw new ParseException("Unrecognized parameter(s): [" + settings.keySet() + "]", 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue