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

Minor cleanup in Level.java

    XMLWordPrintable

    Details

      Description

      see http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-August/054811.html

      Level::registerWithClassLoader(Level) queries a unused class name (pn).
      It could also use method references instead of Lambdas.
      There seems to be also an opportunity to use computeIfAbsent in an unrelated method add(Level).

        Attachments

          Activity

            People

            • Assignee:
              dfuchs Daniel Fuchs
              Reporter:
              dfuchs Daniel Fuchs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: