@Test public void squashAndTrim_Blank() { assertEquals("", StringTools.squashAndTrim(" \t\t ")); }
public static String squashAndTrim(String value) { if (value == null) { return null; } if (StringUtils.isBlank(value)) { return ""; } return value.replaceAll("\\s+", " ").trim(); }
StringTools { public static String squashAndTrim(String value) { if (value == null) { return null; } if (StringUtils.isBlank(value)) { return ""; } return value.replaceAll("\\s+", " ").trim(); } }
StringTools { public static String squashAndTrim(String value) { if (value == null) { return null; } if (StringUtils.isBlank(value)) { return ""; } return value.replaceAll("\\s+", " ").trim(); } private  StringTools(); }
StringTools { public static String squashAndTrim(String value) { if (value == null) { return null; } if (StringUtils.isBlank(value)) { return ""; } return value.replaceAll("\\s+", " ").trim(); } private  StringTools(); static String squashAndTrim(String value); static String toRootLowerCase(String value); }
StringTools { public static String squashAndTrim(String value) { if (value == null) { return null; } if (StringUtils.isBlank(value)) { return ""; } return value.replaceAll("\\s+", " ").trim(); } private  StringTools(); static String squashAndTrim(String value); static String toRootLowerCase(String value);  }