NPE when browsing

Issue #131 resolved
Petr Nejedly repo owner created an issue

Comments (5)

  1. Petr Nejedly reporter

    property mapping is probably locale-sensitive. Should use

     private static String capitalizePropertyName(String s) {
            if (s.length() == 0) {
                return s;
            }
    
            char chars[] = s.toCharArray();
            chars[0] = Character.toUpperCase(chars[0]);
            return new String(chars);
        }
     
    
  2. Log in to comment