@@ -200,7 +200,7 @@ public void getData(ByteBuffer dest) {
200200 *
201201 * @param dest the destination buffer
202202 * @param offset the offset in the destination buffer
203- * @param length the amount of bytes to write to the destination
203+ * @param length the number of bytes to write to the destination
204204 */
205205 public void getData (byte [] dest , int offset , int length ) {
206206 this .buffer .position (getDataOffset ());
@@ -347,7 +347,7 @@ public static CanFrame create(int id, byte flags, byte[] data) {
347347 * @param flags the CAN FD flags, ignored for non-FD frames
348348 * @param data the data
349349 * @param offset the offset within data
350- * @param length amount of bytes to use from data
350+ * @param length number of bytes to use from data
351351 * @return the newly created frame
352352 */
353353 public static CanFrame create (int id , byte flags , byte [] data , int offset , int length ) {
@@ -377,7 +377,7 @@ public static CanFrame createExtended(int id, byte flags, byte[] data) {
377377 * @param flags the CAN FD flags, ignored for non-FD frames
378378 * @param data the data
379379 * @param offset the offset within data
380- * @param length amount of bytes to use from data
380+ * @param length number of bytes to use from data
381381 * @return the newly created frame
382382 */
383383 public static CanFrame createExtended (int id , byte flags , byte [] data , int offset , int length ) {
@@ -403,7 +403,7 @@ private static CanFrame create(int id, boolean extended, byte flags, byte[] data
403403 * @param flags the CAN FD flags, ignored for non-FD frames
404404 * @param data the data
405405 * @param offset the offset within data
406- * @param length amount of bytes to use from data
406+ * @param length number of bytes to use from data
407407 * @return the newly created frame
408408 */
409409 public static CanFrame createRaw (int id , byte flags , byte [] data , int offset , int length ) {
0 commit comments