Subversion Repositories eFlore/Applications.coel

Compare Revisions

Regard whitespace Rev 797 → Rev 798

/trunk/src/org/tela_botanica/client/util/UtilString.java
11,10 → 11,15
public static String ucFirst(String inputStr) {
if (inputStr == null) {
if (isEmpty(inputStr)) {
return "";
}
return inputStr.substring(0,1).toUpperCase() + inputStr.substring(1, inputStr.length());
}
public static boolean isEmpty(String inputStr) {
return inputStr == null || inputStr.equals("");
}
}