public static String join(String separator, Object... objects) {
    return join(separator, asList(objects));
  }
Returns the number of whitespace characters at the end of the given line.

@param line
@return
spock-core/src/main/java/org/spockframework/util/TextUtil.java