class Main { public static String removeAllBlank(String src) { if (src == null) { return null; } else { return src.replaceAll("\\s+", ""); } }}