Merge pull request #1349 from paulp/pr/dead-line

Remove line of dead code.
This commit is contained in:
eugene yokota 2014-05-19 12:33:45 -04:00
commit 5a0e962d8a
1 changed files with 1 additions and 2 deletions

View File

@ -183,7 +183,6 @@ object State {
log.debug(s"> $x") log.debug(s"> $x")
f(x, s.copy(remainingCommands = xs, history = x :: s.history)) f(x, s.copy(remainingCommands = xs, history = x :: s.history))
} }
s.copy(remainingCommands = s.remainingCommands.drop(1))
def :::(newCommands: Seq[String]): State = s.copy(remainingCommands = newCommands ++ s.remainingCommands) def :::(newCommands: Seq[String]): State = s.copy(remainingCommands = newCommands ++ s.remainingCommands)
def ::(command: String): State = (command :: Nil) ::: this def ::(command: String): State = (command :: Nil) ::: this
def ++(newCommands: Seq[Command]): State = s.copy(definedCommands = (s.definedCommands ++ newCommands).distinct) def ++(newCommands: Seq[Command]): State = s.copy(definedCommands = (s.definedCommands ++ newCommands).distinct)
@ -254,4 +253,4 @@ object State {
} }
private[sbt] def getBoolean(s: State, key: AttributeKey[Boolean], default: Boolean): Boolean = private[sbt] def getBoolean(s: State, key: AttributeKey[Boolean], default: Boolean): Boolean =
s.get(key) getOrElse default s.get(key) getOrElse default
} }