Please review this trivial fix to fix a couple of doc errors in the smartcardio API.

Bug: https://bugs.openjdk.java.net/browse/JDK-6470634

Diffs:

--- a/src/java.smartcardio/share/classes/javax/smartcardio/CardTerminals.java Fri May 08 11:02:33 2015 +0100 +++ b/src/java.smartcardio/share/classes/javax/smartcardio/CardTerminals.java Fri May 08 07:30:18 2015 -0400
@@ -94,9 +94,9 @@
      *
      * @param state the State
* @return an unmodifiable list of all terminals matching the specified
-     *   attribute.
+     *   state.
      *
-     * @throws NullPointerException if attr is null
+     * @throws NullPointerException if state is null
      * @throws CardException if the card operation failed
      */
public abstract List<CardTerminal> list(State state) throws CardException;

Thanks,
Sean

Reply via email to