Skip to content

Commit cb5593e

Browse files
committed
scalafmt fixes
1 parent fd3e9f4 commit cb5593e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

sjsonnet/src/sjsonnet/Evaluator.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,7 @@ class Evaluator(
697697
override def evalDefault(expr: Expr, vs: ValScope, es: EvalScope) = visitExpr(expr)(vs)
698698
}
699699

700-
def visitBindings(
701-
bindings: Array[Bind],
702-
scope: => ValScope): Array[Lazy] = {
700+
def visitBindings(bindings: Array[Bind], scope: => ValScope): Array[Lazy] = {
703701
val arrF = new Array[Lazy](bindings.length)
704702
var i = 0
705703
while (i < bindings.length) {

sjsonnet/src/sjsonnet/ValScope.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ final class ValScope private (val bindings: Array[Lazy]) extends AnyVal {
1818

1919
def length: Int = bindings.length
2020

21-
def extend(
22-
newBindings: Array[Lazy],
23-
newSelf: Val.Obj,
24-
newSuper: Val.Obj): ValScope = {
21+
def extend(newBindings: Array[Lazy], newSelf: Val.Obj, newSuper: Val.Obj): ValScope = {
2522
val b = Arrays.copyOf(bindings, bindings.length + newBindings.length + 2)
2623
b(bindings.length) = newSelf
2724
b(bindings.length + 1) = newSuper

0 commit comments

Comments
 (0)