mirror of https://github.com/sbt/sbt.git
remove redundant `val` modifier
This commit is contained in:
parent
1138926f99
commit
14b7ddf867
|
|
@ -133,9 +133,9 @@ private[sbt] object MainLoop:
|
|||
// }
|
||||
|
||||
enum RunNext:
|
||||
case ClearGlobalLog(val state: State)
|
||||
case KeepGlobalLog(val state: State)
|
||||
case Return(val result: xsbti.MainResult)
|
||||
case ClearGlobalLog(state: State)
|
||||
case KeepGlobalLog(state: State)
|
||||
case Return(result: xsbti.MainResult)
|
||||
|
||||
def run(state: State): RunNext =
|
||||
val exchange = StandardMain.exchange
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import org.scalatest.flatspec.AnyFlatSpec
|
|||
|
||||
class SingletonCacheSpec extends AnyFlatSpec {
|
||||
|
||||
case class ComplexType(val x: Int, y: String, z: List[Int])
|
||||
case class ComplexType(x: Int, y: String, z: List[Int])
|
||||
object ComplexType {
|
||||
given format: JsonFormat[ComplexType] =
|
||||
new JsonFormat[ComplexType] {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ case class SettingsExample() extends Init {
|
|||
}
|
||||
|
||||
/** Usage Example * */
|
||||
case class SettingsUsage(val settingsExample: SettingsExample) {
|
||||
case class SettingsUsage(settingsExample: SettingsExample) {
|
||||
import settingsExample.*
|
||||
|
||||
// Define some keys
|
||||
|
|
|
|||
Loading…
Reference in New Issue