Skip to content

Commit 3be3c21

Browse files
committed
Minor javadoc/comment adds
1 parent bae0346 commit 3be3c21

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

avro/src/main/java/com/fasterxml/jackson/dataformat/avro/deser/AvroParserImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,24 +587,28 @@ public long getRemainingElements()
587587
/**********************************************************
588588
*/
589589

590+
// @since 2.19
590591
public JsonToken decodeBytesDecimal(int scale) throws IOException {
591592
decodeBytes();
592593
_numberBigDecimal = new BigDecimal(new BigInteger(_binaryValue), scale);
593594
_numTypesValid = NR_BIGDECIMAL;
594595
return JsonToken.VALUE_NUMBER_FLOAT;
595596
}
596597

598+
// @since 2.19
597599
public void skipBytesDecimal() throws IOException {
598600
skipBytes();
599601
}
600602

603+
// @since 2.19
601604
public JsonToken decodeFixedDecimal(int scale, int size) throws IOException {
602605
decodeFixed(size);
603606
_numberBigDecimal = new BigDecimal(new BigInteger(_binaryValue), scale);
604607
_numTypesValid = NR_BIGDECIMAL;
605608
return JsonToken.VALUE_NUMBER_FLOAT;
606609
}
607610

611+
// @since 2.19
608612
public void skipFixedDecimal(int size) throws IOException {
609613
skipFixed(size);
610614
}

avro/src/main/java/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,9 @@ public void skipValue(AvroParserImpl parser) throws IOException {
548548
}
549549
}
550550

551+
/**
552+
* @since 2.19
553+
*/
551554
protected final static class FixedDecimalReader extends ScalarDecoder {
552555
private final int _scale;
553556
private final int _size;
@@ -598,6 +601,9 @@ public void skipValue(AvroParserImpl parser) throws IOException {
598601
}
599602
}
600603

604+
/**
605+
* @since 2.19
606+
*/
601607
protected final static class BytesDecimalReader extends ScalarDecoder {
602608
private final int _scale;
603609

avro/src/main/java/com/fasterxml/jackson/dataformat/avro/ser/NonBSGenericDatumWriter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public class NonBSGenericDatumWriter<D>
2828
private final static Class<?> CLS_BIG_DECIMAL = BigDecimal.class;
2929
private final static Class<?> CLS_BIG_INTEGER = BigInteger.class;
3030

31+
// @since 2.19
3132
private final static DecimalConversion BIG_DECIMAL_CONVERSION = new DecimalConversion();
3233

3334
public NonBSGenericDatumWriter(Schema root) {

0 commit comments

Comments
 (0)