From 9b8d50637f3cce7afaff136d8d641631d13e1161 Mon Sep 17 00:00:00 2001 From: "Norbraten, Terry" <tdnorbra@nps.edu> Date: Fri, 5 Jun 2020 15:58:26 -0700 Subject: [PATCH] typos --- src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java b/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java index f16251c1c9..aa7b44aef0 100644 --- a/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java +++ b/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java @@ -265,8 +265,8 @@ public class PduPlayer { buffer = byteBuffer2.array(); - //When the byteBuffer stores the arry of Integers into the byte array it stores a 7 as 0 0 0 7. - //Therefore a shortBuffer is created where only every forth value is stored. + //When the byteBuffer stores the array of Integers into the byte array it stores a 7 as 0 0 0 7. + //Therefore a shortBuffer is created where only every fourth value is stored. //it must be done with modulo instead of testing for "0" because a "0" could be there as value and not as padding bufferShort = new byte[byteBuffer2.array().length / 4]; -- GitLab