Use enhanced-for cycle instead of Enumeration in JceKeyStore

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P5
    • None
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: