Skip to content

Commit

Permalink
Switch read to be non null
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Apr 15, 2024
1 parent cce1d25 commit 73f6c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AvroBinaryReader(
else -> error("Specify either ByteArray or InputStream")
}

fun read(): GenericRecord? {
fun read(): GenericRecord {
return datumReader.read(null, decoder)
}

Expand Down

0 comments on commit 73f6c7c

Please sign in to comment.