Skip to content

Commit 2cba497

Browse files
authored
Code clean up
1 parent 1b2f124 commit 2cba497

File tree

1 file changed

+3
-3
lines changed
  • jsoniter-scala-macros/shared/src/main/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros

1 file changed

+3
-3
lines changed

jsoniter-scala-macros/shared/src/main/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMaker.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2375,9 +2375,9 @@ object JsonCodecMaker {
23752375
while ({
23762376
val v = $readVal
23772377
if (v < 0 || v >= ${Expr(cfg.bitSetValueLimit)}) $in.decodeError("illegal value for bit set")
2378-
val xi = v >>> 6
2379-
if (xi >= x.length) x = java.util.Arrays.copyOf(x, java.lang.Integer.highestOneBit(xi) << 1)
2380-
x(xi) = x(xi) | 1L << v
2378+
val i = v >>> 6
2379+
if (i >= x.length) x = java.util.Arrays.copyOf(x, java.lang.Integer.highestOneBit(i) << 1)
2380+
x(i) = x(i) | 1L << v
23812381
$in.isNextToken(',')
23822382
}) ()
23832383
if ($in.isCurrentToken(']')) ${

0 commit comments

Comments
 (0)