From 486d0fd1083a4fa9de98d69a5bf21b4ad3342ef7 Mon Sep 17 00:00:00 2001 From: Vasil Vasilev Date: Sun, 7 Jul 2024 09:34:35 +0200 Subject: [PATCH] Remove println debugging in JavaCompilerSpec - It is a leftover from https://github.com/sbt/zinc/pull/1373. --- .../scala/sbt/internal/inc/javac/JavaCompilerSpec.scala | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/internal/zinc-compile-core/src/test/scala/sbt/internal/inc/javac/JavaCompilerSpec.scala b/internal/zinc-compile-core/src/test/scala/sbt/internal/inc/javac/JavaCompilerSpec.scala index d468f8b3e..b320c8a5d 100644 --- a/internal/zinc-compile-core/src/test/scala/sbt/internal/inc/javac/JavaCompilerSpec.scala +++ b/internal/zinc-compile-core/src/test/scala/sbt/internal/inc/javac/JavaCompilerSpec.scala @@ -203,13 +203,7 @@ class JavaCompilerSpec extends UnitSpec with Diagrams { ): Boolean = { def lineContentCheck = lineContent forall (content => p.position.lineContent contains content) def lineNumberCheck = p.position.line.isPresent && (p.position.line.get == lineno) - def columnCheck = { - val res = p.position.pointer.isPresent && (p.position.pointer.get == colno) - if (!res) { - println(s"got ${p.position().pointer().get}, expected $colno, problem $p") - } - res - } + def columnCheck = p.position.pointer.isPresent && (p.position.pointer.get == colno) lineNumberCheck && columnCheck && lineContentCheck }