private static final String dcFixup(String st) { String dcFixed; if (isDCProp(st)) { StringBuilder sb = new StringBuilder(st.length() + 2); sb.append("dc").append(Character.toUpperCase(st.charAt(0))); sb.append(st, 1, st.length()); dcFixed = sb.toString(); } else { dcFixed = st; } return dcFixed; }
private static final String dcFixup(String st) { String dcFixed; if (isDCProp(st)) { StringBuilder sb = new StringBuilder(st.length() + 2); sb.append("dc").append(Character.toUpperCase(st.charAt(0))); sb.append(st, 1, st.length()); dcFixed = sb.toString(); } else { dcFixed = st; } return dcFixed; }