File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
server/src/main/kotlin/org/javacs/kt/index Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import org.jetbrains.exposed.dao.IntEntityClass
13
13
import org.jetbrains.exposed.dao.id.EntityID
14
14
import org.jetbrains.exposed.dao.id.IntIdTable
15
15
import org.jetbrains.exposed.sql.*
16
- import java.util.concurrent.CompletableFuture
17
16
import kotlin.sequences.Sequence
18
17
19
18
private const val MAX_FQNAME_LENGTH = 255
@@ -82,9 +81,7 @@ class PositionEntity(id: EntityID<Int>) : IntEntity(id) {
82
81
class SymbolIndex {
83
82
private val db = Database .connect(" jdbc:h2:mem:symbolindex;DB_CLOSE_DELAY=-1" , " org.h2.Driver" )
84
83
85
- var progressFactory: Progress .Factory = object : Progress .Factory {
86
- override fun create (label : String ): CompletableFuture <Progress > = CompletableFuture .supplyAsync { Progress .None }
87
- }
84
+ var progressFactory: Progress .Factory = Progress .Factory .None
88
85
89
86
init {
90
87
transaction(db) {
You can’t perform that action at this time.
0 commit comments