Skip to content

Commit 5e08927

Browse files
committed
Remove redundant final on objects
1 parent f0e5fe1 commit 5e08927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/library/scala/concurrent/ExecutionContext.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ object ExecutionContext {
160160
*
161161
* Any `NonFatal` or `InterruptedException`s will be reported to the `defaultReporter`.
162162
*/
163-
final object parasitic extends ExecutionContextExecutor with BatchingExecutor {
163+
object parasitic extends ExecutionContextExecutor with BatchingExecutor {
164164
override final def submitForExecution(runnable: Runnable): Unit = runnable.run()
165165
override final def execute(runnable: Runnable): Unit = submitSyncBatched(runnable)
166166
override final def reportFailure(t: Throwable): Unit = defaultReporter(t)
167167
}
168168

169-
final object Implicits {
169+
object Implicits {
170170
/**
171171
* The implicit global `ExecutionContext`. Import `global` when you want to provide the global
172172
* `ExecutionContext` implicitly.

0 commit comments

Comments
 (0)