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

Add log helper methods to FontUtilities.java

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Description

      We have a lot of font logging calls in java.desktop that looks similar to this :

              if (FontUtilities.isLogging()) {
                  FontUtilities.getLogger().info("Here comes my important info");
              }

      This could be simplified by adding static log methods to FontUtilities.java .

        Attachments

          Activity

            People

            Assignee:
            mbaesken Matthias Baesken
            Reporter:
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: