[vcs-log-graph] cleanup: remove redundant anonymous class

GitOrigin-RevId: 6dab6bb536ab42d69d48d5da287a1941394fda0f
This commit is contained in:
Julia Beliaeva
2024-03-25 02:33:43 +00:00
committed by intellij-monorepo-bot
parent 7add36ddb3
commit 625f1ca96d
2 changed files with 5 additions and 5 deletions
@@ -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)