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

remove unneeded casts in LocationImpl and MirrorImpl classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 8, 9, 10
    • core-svc
    • None
    • b01

      Egor Ushakov reported some unneeded casts in the methods:
        LocationImpl.compareTo()
        MirrorImpl.validateMirrors()
        MirrorImpl.validateMirrorsOrNulls()

      A fix suggested by Egor is:
        http://cr.openjdk.java.net/~avu/egor.ushakov/cast_fix/

            sspitsyn Serguei Spitsyn
            sspitsyn Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: