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

String::indent inconsistency with blank lines

XMLWordPrintable

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

        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

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

                Created:
                Updated:
                Resolved: