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
1313import org.jetbrains.exposed.dao.id.EntityID
1414import org.jetbrains.exposed.dao.id.IntIdTable
1515import org.jetbrains.exposed.sql.*
16- import java.util.concurrent.CompletableFuture
1716import kotlin.sequences.Sequence
1817
1918private const val MAX_FQNAME_LENGTH = 255
@@ -82,9 +81,7 @@ class PositionEntity(id: EntityID<Int>) : IntEntity(id) {
8281class SymbolIndex {
8382 private val db = Database .connect(" jdbc:h2:mem:symbolindex;DB_CLOSE_DELAY=-1" , " org.h2.Driver" )
8483
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
8885
8986 init {
9087 transaction(db) {
You can’t perform that action at this time.
0 commit comments