[2.x] refactor: Remove unnecessary nowarn annotation (#8784)

This commit is contained in:
kenji yoshida 2026-02-23 09:25:45 +09:00 committed by GitHub
parent 17ca2b3931
commit b7b3947b81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -11,7 +11,6 @@ package sbt.internal.util
import java.lang.Runnable
import java.util.concurrent.{ Executor, LinkedBlockingQueue, atomic }
import atomic.{ AtomicBoolean, AtomicInteger }
import scala.annotation.nowarn
enum EvaluationState:
case New
@ -35,7 +34,6 @@ class EvaluateSettings[I <: Init](
private def getStatic[A](key: ScopedKey[A]): INode[A] =
static.get(key).getOrElse { sys.error("Illegal reference to key " + key) }
@nowarn
private val transform: [A] => Initialize[A] => INode[A] = [A] =>
(fa: Initialize[A]) =>
fa match