Typos in CardTerminals.list(CardTerminals.State) javadoc

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 6
    • Component/s: security-libs

        The javadoc for the CardTerminals.list(CardTerminals.State) method at:
          /java/re/jdk/6.0/promoted/rc/b98/docs/jre/api/security/smartcardio/spec/javax/smartcardio/CardTerminals.html#list(javax.smartcardio.CardTerminals.State)
        contains typos:

          ---Excerpt-from-spec---
           public abstract List<CardTerminal> list(CardTerminals.State state)
                                         throws CardException

             Returns an unmodifiable list of all terminals matching the specified state.
             ...
            Parameters:
                state - the State
            Returns:
                an unmodifiable list of all terminals matching the
                specified attribute.
                          ^^^^^^^^^
            Throws:
                NullPointerException - if attr is null
                                          ^^^^
             ...
          ---End-of-excerpt---

        It seems that "state" word is more appropriate here than "attribute"/"attr".

              Assignee:
              Sean Mullan
              Reporter:
              Yuri Gaevsky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: