mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 06:07:24 +02:00
reverted check
This commit is contained in:
@@ -114,7 +114,7 @@ object JavaCompilerSpec extends Specification {
|
|||||||
case Some(content) => content.equalsIgnoreCase(p.position.lineContent())
|
case Some(content) => content.equalsIgnoreCase(p.position.lineContent())
|
||||||
case _ => true
|
case _ => true
|
||||||
}
|
}
|
||||||
def lineNumberCheck = p.position.line.exists(_ == lineno)
|
def lineNumberCheck = p.position.line.isDefined && (p.position.line.get == lineno)
|
||||||
lineNumberCheck && lineContentCheck
|
lineNumberCheck && lineContentCheck
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user