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

Refactor printing processor to use streams

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • 13
    • core-libs

      The printing annotation processor, used for both the javac -Xprint option and the implementation of javax.lang.model.util.Elements.print, has a number of for-loops with logic to include or exclude separators/terminators and surrounding text based on position. Such logic can be more concisely expressed using stream and collectors.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: