Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1143

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6
    • lang.*
    • 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

        1. LANG-1143.patch
          1 kB
          Sebb

        Issue Links

          Activity

            People

              pascalschumacher Pascal Schumacher
              sebb Sebb
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: