mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 01:54:17 +02:00
remove redundant val modifier
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user