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

StringEscapeUtils uses printStackTrace()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5
    • lang.*
    • None

    Description

      StringEscapeUtils.escapeJavaStyleString() uses printStackTrace() and then returns null - but admittedly for an impossible situation.

      It would probably be better to throw UnhandledException() - as is done in the Entities class for a similar situation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: