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

[lang][patch] Implementation of escape/unescapeHtml methods with Writer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      35366

      Description

      I've implemented the escapeHtml and unescapeHtml methods that accept Writer
      instances in the StringEscapeUtils class. The patches are are in the three
      forthcoming attachments. One of the patch files is an update to the JUnit test.

      I ran the regression tests and they all worked.

      Note: The patch for the 'Entities.java' file seems to include some changes I
      didn't actually make, but I couldn't get SVN's diff to work as expected.

        Activity

        Hide
        nbeyer Nathan Beyer added a comment -

        Created an attachment (id=15412)
        Patch for the 'Entities.java' file.

        Show
        nbeyer Nathan Beyer added a comment - Created an attachment (id=15412) Patch for the 'Entities.java' file.
        Hide
        nbeyer Nathan Beyer added a comment -

        Created an attachment (id=15413)
        Patch for the 'StringEscapeUtils.java' file.

        Show
        nbeyer Nathan Beyer added a comment - Created an attachment (id=15413) Patch for the 'StringEscapeUtils.java' file.
        Hide
        nbeyer Nathan Beyer added a comment -

        Created an attachment (id=15414)
        Patch for the 'StringEscapeUtilsTest.java' file.

        Show
        nbeyer Nathan Beyer added a comment - Created an attachment (id=15414) Patch for the 'StringEscapeUtilsTest.java' file.
        Hide
        stevencaswell@apache.org Steven Caswell added a comment -

        Applied patches minus the unrelated diffs to Entities

        Show
        stevencaswell@apache.org Steven Caswell added a comment - Applied patches minus the unrelated diffs to Entities

          People

          • Assignee:
            Unassigned
            Reporter:
            nbeyer Nathan Beyer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development