You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/main/java/com/lukaslechner/coroutineusecasesonandroid/usecases/coroutines/usecase12/FactorialCalculator.kt
+17-19Lines changed: 17 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,8 @@ class FactorialCalculator(
13
13
factorialOf:Int,
14
14
numberOfCoroutines:Int
15
15
): BigInteger {
16
-
17
-
val subRanges = createSubRangeList(factorialOf, numberOfCoroutines)
18
16
return withContext(defaultDispatcher) {
17
+
val subRanges = createSubRangeList(factorialOf, numberOfCoroutines)
0 commit comments