Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8215493

String::indent inconsistency with blank lines

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 12
    • 12
    • core-libs
    • None
    • b28
    • generic
    • generic

    Backports

      Description

        There is inconsistency with regards to blank lines and indentation. Adding indent ignores blank lines, but subtraction does not.

        Either the spec should
        - always ignore blank lines
        - always treat blank lines
        - always convert blank lines to empty lines

        Attachments

          Issue Links

            Activity

              People

                jlaskey Jim Laskey
                jlaskey Jim Laskey
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: