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

Use enhanced-for cycle instead of Enumeration in JceKeyStore

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • None
    • security-libs

      java.util.Enumeration is a legacy interface from java 1.0.
      There is couple of places in com.sun.crypto.provider.JceKeyStore with cycles which use it to iterate over collections. We can replace this manual cycle with enchanced-for, which is shorter and easier to read.

            aturbanov Andrey Turbanov
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: