Skip to content

Commit 8ba86ce

Browse files
chore: rebuild project due to codegen change (#45)
1 parent 6002588 commit 8ba86ce

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/http/RetryingHttpClient.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.onebusaway.core.http
22

3-
import com.google.common.util.concurrent.MoreExecutors
43
import java.io.IOException
54
import java.time.Clock
65
import java.time.Duration
@@ -116,8 +115,10 @@ private constructor(
116115
executeWithRetries(request, requestOptions)
117116
}
118117
},
119-
MoreExecutors.directExecutor()
120-
)
118+
) {
119+
// Run in the same thread.
120+
it.run()
121+
}
121122
.thenCompose(Function.identity())
122123
}
123124

0 commit comments

Comments
 (0)