- private static void correctErrors(byte[] codewordBytes, int numDataCodewords)\r
- throws ReaderException {\r
+ /**\r
+ * <p>Given data and error-correction codewords received, possibly corrupted by errors, attempts to\r
+ * correct the errors in-place using Reed-Solomon error correction.</p>\r
+ *\r
+ * @param codewordBytes data and error correction codewords\r
+ * @param numDataCodewords number of codewords that are data bytes\r
+ * @throws ReaderException if error correction fails\r
+ */\r
+ private void correctErrors(byte[] codewordBytes, int numDataCodewords) throws ReaderException {\r