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

Redundant if statement in ZoneInfoFile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 17-pool, 21
    • core-libs

    Description

      if (i < savingsInstantTransitions.length) {
          // javazic writes the last GMT offset into index 0!
          if (i < savingsInstantTransitions.length) {
              offsets[0] = standardOffsets[standardOffsets.length - 1] * 1000;
              nOffsets = 1;
          }
          ...
      }

      The second if statement looks unnecessary.

      Attachments

        Issue Links

          Activity

            People

              jjiang John Jiang
              jjiang John Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: