Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
oridag committed Dec 1, 2024
1 parent f606e9b commit 6b7e434
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ object AvroSchemaCodec extends AvroSchemaCodec {
if (schema.getType == SchemaAvro.Type.UNION) {
schema.getTypes.asScala.toList match {
case List(t1, t2) if t1.getType == SchemaAvro.Type.NULL => Some(t2)
case _ => None
case _ => None
}
} else {
None
Expand Down

0 comments on commit 6b7e434

Please sign in to comment.