Skip to content

Commit 1b2adbe

Browse files
committed
Warnings removal
1 parent a128083 commit 1b2adbe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public Object getInputSource() {
119119
return _inputStream;
120120
}
121121

122-
@SuppressWarnings("deprecation")
123122
@Override
124123
protected void _closeInput() throws IOException {
125124
if (_inputStream != null) {

avro/src/main/java/com/fasterxml/jackson/dataformat/avro/schema/RecordVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ protected Schema.Field schemaFieldForWriter(BeanProperty prop, boolean optional)
204204

205205
/**
206206
* A union schema with a default value must always have the schema branch corresponding to the default value first, or Avro will print a
207-
* warning complaining that the default value is not compatible. If {@code schema} is a {@link Schema.Type#UNION UNION} schema and
207+
* warning complaining that the default value is not compatible. If {@code schema} is a {@code Schema.Type.UNION} schema and
208208
* {@code defaultValue} is non-{@code null}, this finds the appropriate branch in the union and reorders the union so that it is first.
209209
*
210210
* @param schema

0 commit comments

Comments
 (0)