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

Refactor java.util.Formatter

XMLWordPrintable

    • b03

      A few refactorings to slightly improve performance of java.util.Formatters and align the implementation with the JEP work for TemplatedStrings:

      - turn Flags into an int
      - avoid varargs methods: checkBadFlags(Flags.PARENTHESES, ... -> checkBadFlags(Flags.Parentheses | ...
      - make FormatSpecifier and FixedString static

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: