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

Unused parameter 'boolean newln' in method java.lang.VersionProps#print(boolean, boolean)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5
    • 20
    • 9, 20
    • core-libs
    • 9
    • b06

    Description

      Parameter 'boolean newln' was added to method java.lang.VersionProps#print in JDK-8169069. But it was never used inside method body.

      IDEA shows unused declaration warning there.
      https://github.com/openjdk/jdk/blob/47b86690b6672301aa46d4a7b9ced58d17047cc7/src/java.base/share/classes/java/lang/VersionProps.java.template#L207

      Attachments

        Issue Links

          Activity

            People

              lancea Lance Andersen
              aturbanov Andrey Turbanov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: