String.join() is not available pre-Java8

This commit is contained in:
Zachary Tong 2015-07-16 12:23:19 -04:00
parent 42291e3cfd
commit 7367af57cf
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}