@@ -293,10 +293,10 @@ public static void getChars(long i, int index, char[] buf) {
293
293
* @param buf byte array buffer
294
294
* @param off buffer starting offset
295
295
* @param unscaledVal unscaled value (precision part of BigDecimal)
296
- * @param scale number of digits after the decimal point, caller must ensure scale > = 0
296
+ * @param scale number of digits after the decimal point, caller must ensure scale > = 0
297
297
* @return offset after writing
298
298
*
299
- * Note: This method trusts that the caller has ensured scale > = 0
299
+ * Note: This method trusts that the caller has ensured scale > = 0
300
300
*/
301
301
public static int writeDecimal (byte [] buf , int off , long unscaledVal , int scale ) {
302
302
if (unscaledVal < 0 ) {
@@ -348,10 +348,10 @@ public static int writeDecimal(byte[] buf, int off, long unscaledVal, int scale)
348
348
* @param buf character array buffer
349
349
* @param off buffer starting offset
350
350
* @param unscaledVal unscaled value (precision part of BigDecimal)
351
- * @param scale number of digits after the decimal point, caller must ensure scale > = 0
351
+ * @param scale number of digits after the decimal point, caller must ensure scale > = 0
352
352
* @return offset after writing
353
353
*
354
- * Note: This method trusts that the caller has ensured scale > = 0
354
+ * Note: This method trusts that the caller has ensured scale > = 0
355
355
*/
356
356
public static int writeDecimal (char [] buf , int off , long unscaledVal , int scale ) {
357
357
if (unscaledVal < 0 ) {
0 commit comments