diff --git a/app/src/main/scala/app/logorrr/conf/mut/MutLogFileSettings.scala b/app/src/main/scala/app/logorrr/conf/mut/MutLogFileSettings.scala index 2df0a4e0..080d0b43 100644 --- a/app/src/main/scala/app/logorrr/conf/mut/MutLogFileSettings.scala +++ b/app/src/main/scala/app/logorrr/conf/mut/MutLogFileSettings.scala @@ -46,9 +46,7 @@ class MutLogFileSettings { bind(someLogEntrySettingsProperty) override def computeValue(): Boolean = { - val res = Option(someLogEntrySettingsProperty.get()).exists(_.isDefined) - println(s"compute to $res") - res + Option(someLogEntrySettingsProperty.get()).exists(_.isDefined) } } diff --git a/app/src/main/scala/app/logorrr/views/block/BlockImage.scala b/app/src/main/scala/app/logorrr/views/block/BlockImage.scala index 9e84ac46..fec62b44 100644 --- a/app/src/main/scala/app/logorrr/views/block/BlockImage.scala +++ b/app/src/main/scala/app/logorrr/views/block/BlockImage.scala @@ -81,7 +81,6 @@ class BlockImage[Elem <: BlockView.E] extends CanLog { assert(width <= BlockImage.MaxWidth, s"width was ${width} which exceeds ${BlockImage.MaxWidth}.") assert(height <= BlockImage.MaxHeight, s"height was ${height} which exceeds ${BlockImage.MaxHeight}.") assert(height * width > 0) - // println(s"Allocating ${intWidth * intHeight} memory ...") Option(this.intBuffer) match { case Some(value) => value.clear() diff --git a/app/src/main/scala/app/logorrr/views/text/LineNumberBar.scala b/app/src/main/scala/app/logorrr/views/text/LineNumberBar.scala index fcca04e8..09309d53 100644 --- a/app/src/main/scala/app/logorrr/views/text/LineNumberBar.scala +++ b/app/src/main/scala/app/logorrr/views/text/LineNumberBar.scala @@ -12,6 +12,7 @@ object LineNumberBar { val maxDuration: FiniteDuration = 1200 millis } + case class LineNumberBar(e: LogEntry , instant: Instant , timings: Map[Int, Instant] @@ -23,7 +24,6 @@ case class LineNumberBar(e: LogEntry case Some(nextTi) => nextTi.toEpochMilli - instant.toEpochMilli case None => - // println(s"timings.size ${timings.size}, linenumber: ${e.lineNumber + 1}") 0L } diff --git a/app/src/test/scala/app/logorrr/LogProducer.scala b/app/src/test/scala/app/logorrr/LogProducer.scala index 9bcbc03f..5879394d 100644 --- a/app/src/test/scala/app/logorrr/LogProducer.scala +++ b/app/src/test/scala/app/logorrr/LogProducer.scala @@ -36,12 +36,12 @@ object LogProducer { val writer = SimpleWriter(path) new Thread(writer).start() - System.out.println(s"producing log entries in ${path.toAbsolutePath.toString}, press enter to stop") + Console.println(s"producing log entries in ${path.toAbsolutePath.toString}, press enter to stop") val keyboard = new Scanner(System.in) keyboard.nextLine() writer.stop() } else { - println("Usage: LogProducer ") + Console.println("Usage: LogProducer ") } } diff --git a/build/src/main/scala/app/logorrr/build/CodeSigner.scala b/build/src/main/scala/app/logorrr/build/CodeSigner.scala index 573439a4..b52f05cf 100644 --- a/build/src/main/scala/app/logorrr/build/CodeSigner.scala +++ b/build/src/main/scala/app/logorrr/build/CodeSigner.scala @@ -10,7 +10,7 @@ object CodeSigner { def main(args: Array[String]): Unit = { if (args.length != 4) { - System.out.println("CodeSigner ") + Console.println("CodeSigner ") } else { val developerId = args(0) val codesign = Paths.get(args(1)) @@ -19,7 +19,7 @@ object CodeSigner { if (Files.exists(file)) { Files.readAllLines(file).asScala.map(f => sign(codesign, entitlements, developerId, file.getParent.resolve(f))) } else { - System.out.println(s"${file.toAbsolutePath} does not exist, could not execute signing operation ...") + Console.println(s"${file.toAbsolutePath} does not exist, could not execute signing operation ...") } } } diff --git a/build/src/main/scala/app/logorrr/build/Commander.scala b/build/src/main/scala/app/logorrr/build/Commander.scala index 2170bd1a..2b63bcac 100644 --- a/build/src/main/scala/app/logorrr/build/Commander.scala +++ b/build/src/main/scala/app/logorrr/build/Commander.scala @@ -6,7 +6,7 @@ import scala.jdk.CollectionConverters._ object Commander { def execCmd(workingDir: Path, cmds: Seq[String]): Int = { - System.out.println(cmds.mkString(" ")) + Console.println(cmds.mkString(" ")) new ProcessBuilder() .directory(workingDir.toFile) .inheritIO() diff --git a/docs/src/main/scala/app/logorrr/docs/IconCreatorApp.scala b/docs/src/main/scala/app/logorrr/docs/IconCreatorApp.scala index 0c5b76ed..d30182d1 100644 --- a/docs/src/main/scala/app/logorrr/docs/IconCreatorApp.scala +++ b/docs/src/main/scala/app/logorrr/docs/IconCreatorApp.scala @@ -30,7 +30,7 @@ object IconCreatorApp { c.snapshot(spp, writableImage) val renderedImage = SwingFXUtils.fromFXImage(writableImage, null) ImageIO.write(renderedImage, "png", target.toFile) - System.out.println(s"Wrote ${target.toAbsolutePath} .") + Console.println(s"Wrote ${target.toAbsolutePath} .") } def main(args: Array[String]): Unit = {