Changeset 151:e406dca5a9e6 in livinglogic.java.ul4

Show
Ignore:
Timestamp:
07/17/08 19:39:20 (11 years ago)
Author:
Walter Doerwald <walter@…>
Children:
153:9b3639f78fbe, 154:8d2b04097615
Branch:
default
Message:

Use String.valueOf(), because we mean it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/src/com/livinglogic/ul4/Utils.java

    r150 r151  
    966966    public static Object capitalize(String obj) 
    967967    { 
    968         return Character.toTitleCase(obj.charAt(0)) + obj.substring(1).toLowerCase(); 
     968        return String.valueOf(Character.toTitleCase(obj.charAt(0))) + obj.substring(1).toLowerCase(); 
    969969    } 
    970970