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

ResponseAPDU getData() method javadoc

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      In the ResponseAPDU class, the getData() method's javadoc in it's current state is written as:
       * Returns a copy of the data bytes in the response body. If this APDU as
       * no body, this method returns a byte array with a length of zero.

      I believe what this is trying to say is changing the 'as' in the first line to 'has' like this:
       * Returns a copy of the data bytes in the response body. If this APDU has
       * no body, this method returns a byte array with a length of zero.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      just look at the javadoc of that class, you'll see it

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      has instead of as
      ACTUAL -
      as instead of has

      FREQUENCY : always


            mpowers Mark Powers
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: