/** * {@inheritDoc} This implementation handles the case that the passed in * string is <b>null</b>. In this case, an empty collection is returned. * Otherwise, this method delegates to {@link #splitString(String, boolean)}. */ @Override public Collection<String> split(final String s, final boolean trim) { if (s == null) { return new ArrayList<>(0); } return splitString(s, trim); }