Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
plokhotnyuk committed Jan 27, 2025
1 parent 25041de commit b9fec19
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ object UnsafeNumbers {
max_bits: Int
): java.math.BigInteger = {
var current: Int = in.read()
val negative = current == '-'
val negative = current == '-'
if (negative || current == '+') current = in.read()
if (current == -1) throw UnsafeNumber
bigDecimal__(in, consume, negative, current, true, max_bits).unscaledValue
Expand Down Expand Up @@ -838,7 +838,7 @@ object UnsafeNumbers {
max_bits: Int
): java.math.BigDecimal = {
var current: Int = in.read()
val negative = current == '-'
val negative = current == '-'
if (negative || current == '+') current = in.read()
if (current == -1) throw UnsafeNumber
bigDecimal__(in, consume, negative, current, false, max_bits)
Expand Down

0 comments on commit b9fec19

Please sign in to comment.