Skip to content

Commit

Permalink
Fix Scala 2.13 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alexflav23 committed May 10, 2020
1 parent 8583bba commit 1d560e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ object Primitive {
throw new InvalidTypeException(
"Invalid boolean value, expecting 1 byte but got " + bytes.remaining
)
case _ => bytes.get(bytes.position) != 0
case _ => bytes.get(bytes.position()) != 0
}
}
}
Expand Down

0 comments on commit 1d560e7

Please sign in to comment.