Skip to content

Commit 07a8dce

Browse files
committed
Reformat with scalafmt 3.9.3
Executed command: scalafmt --non-interactive
1 parent cdbfa21 commit 07a8dce

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala

+10-10
Original file line numberDiff line numberDiff line change
@@ -434,18 +434,18 @@ class AstSchemaMaterializer[Ctx] private (
434434
var iteration = 0
435435

436436
while ({
437-
prevCount = typeDefCache.size
438-
iteration += 1
437+
prevCount = typeDefCache.size
438+
iteration += 1
439439

440-
typeDefCache.forEachValue {
441-
case o: ObjectLikeType[_, _] => o.fields
442-
case o: InputObjectType[_] => o.fields
443-
case _ => // do nothing
444-
}
440+
typeDefCache.forEachValue {
441+
case o: ObjectLikeType[_, _] => o.fields
442+
case o: InputObjectType[_] => o.fields
443+
case _ => // do nothing
444+
}
445445

446-
newCount = typeDefCache.size
447-
prevCount != newCount && iteration < 20
448-
}) ()
446+
newCount = typeDefCache.size
447+
prevCount != newCount && iteration < 20
448+
}) ()
449449
}
450450

451451
def getTypeFromExistingType(origin: MatOrigin, tpe: OutputType[_]): OutputType[Any] = tpe match {

modules/core/src/main/scala/sangria/validation/rules/overlappingfields/SortedArraySet.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ object SortedArraySet {
8181
members.set(into, first_from)
8282
into += 1
8383
while ({
84-
from += 1
85-
from < members.size() && members.get(from) == first_from
86-
}) ()
84+
from += 1
85+
from < members.size() && members.get(from) == first_from
86+
}) ()
8787
}
8888
members.subList(into, members.size()).clear()
8989
}

0 commit comments

Comments
 (0)