Uploaded image for project: 'Commons Text'
  1. Commons Text
  2. TEXT-39

WordUtils should use toXxxxCase(int) rather than toXxxxCase(char)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Labels:
      None

      Description

      The Javadoc for Character#toTitleCase(char) recommends using Character#toTitleCase(int) instead. This method was added in Java 1.5 which is perhaps is why it was not used originally; maybe we should use it now.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chtompki Rob Tompkins
                Reporter:
                sebb Sebb
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: