jodd-core/src/main/java/jodd/util/StringUtil.java
public static void trimAll(final String... strings) {
		for (int i = 0; i < strings.length; i++) {
			String string = strings[i];
			if (string != null) {
				strings[i] = string.trim();
			}
		}
	}
public static void trimAll(final String... strings) {
		for (int i = 0; i < strings.length; i++) {
			String string = strings[i];
			if (string != null) {
				strings[i] = string.trim();
			}
		}
	}
Trims array of strings. <code>null</code> array elements are ignored.