mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log-graph] cleanup: remove redundant anonymous class
GitOrigin-RevId: 6dab6bb536ab42d69d48d5da287a1941394fda0f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7add36ddb3
commit
625f1ca96d
+4
-4
@@ -9,10 +9,10 @@ import com.intellij.vcs.log.graph.utils.DfsWalk
|
||||
import com.intellij.vcs.log.graph.utils.LinearGraphUtils
|
||||
import com.intellij.vcs.log.graph.utils.UnsignedBitSet
|
||||
|
||||
open class FilteredController(delegateLinearGraphController: LinearGraphController,
|
||||
permanentGraphInfo: PermanentGraphInfo<*>,
|
||||
matchedIds: Set<Int>,
|
||||
visibleHeadsIds: Set<Int>? = null) :
|
||||
class FilteredController(delegateLinearGraphController: LinearGraphController,
|
||||
permanentGraphInfo: PermanentGraphInfo<*>,
|
||||
matchedIds: Set<Int>,
|
||||
visibleHeadsIds: Set<Int>? = null) :
|
||||
CascadeController(delegateLinearGraphController, permanentGraphInfo) {
|
||||
|
||||
val collapsedGraph: CollapsedGraph
|
||||
|
||||
@@ -25,7 +25,7 @@ class FileHistoryTest {
|
||||
fun LinearGraph.assert(startCommit: Int, startPath: FilePath, fileNamesData: FileHistoryData, result: TestGraphBuilder.() -> Unit) {
|
||||
val permanentGraphInfo = TestPermanentGraphInfo(this)
|
||||
val baseController = BaseController(permanentGraphInfo)
|
||||
val filteredController = object : FilteredController(baseController, permanentGraphInfo, fileNamesData.getCommits()) {}
|
||||
val filteredController = FilteredController(baseController, permanentGraphInfo, fileNamesData.getCommits())
|
||||
|
||||
val historyBuilder = FileHistoryBuilder(startCommit, startPath, fileNamesData, FileHistory.EMPTY)
|
||||
historyBuilder.accept(filteredController, permanentGraphInfo)
|
||||
|
||||
Reference in New Issue
Block a user