public static String capitalize(String s) {
		if (null == s) {
			return null;
		}
		if (s.length() == 0) {
			return "";
		}

		char char0 = s.charAt(0);
		if (Character.isUpperCase(char0)) {
			return s.toString();
		}

		return new StringBuilder(s.length()).append(Character.toUpperCase(char0)).append(s.subSequence(1, s.length())).toString();
	}