mirror of
https://github.com/ilyakooo0/intellij-haskell.git
synced 2024-08-17 10:40:44 +03:00
Use AnyRef insteadof Unit
This commit is contained in:
parent
1bbd829642
commit
211bd6bf3a
@ -36,18 +36,18 @@ import javax.swing.Icon
|
||||
|
||||
import scala.jdk.CollectionConverters._
|
||||
|
||||
class StackProjectImportBuilder extends ProjectImportBuilder[Unit] {
|
||||
class StackProjectImportBuilder extends ProjectImportBuilder[AnyRef] {
|
||||
override def getName: String = "Haskell Stack"
|
||||
|
||||
override def getList: util.List[Unit] = new util.ArrayList[Unit]()
|
||||
override def getList: util.List[AnyRef] = new util.ArrayList[AnyRef]()
|
||||
|
||||
override def getIcon: Icon = HaskellIcons.HaskellLogo
|
||||
|
||||
override def setOpenProjectSettingsAfter(on: Boolean): Unit = {}
|
||||
|
||||
override def setList(list: util.List[Unit]): Unit = ()
|
||||
override def setList(list: util.List[AnyRef]): Unit = ()
|
||||
|
||||
override def isMarked(element: Unit): Boolean = true
|
||||
override def isMarked(element: AnyRef): Boolean = true
|
||||
|
||||
override def getTitle: String = "Stack project importer"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user