This commit is contained in:
Wolfgang Hottgenroth 2020-09-08 11:08:05 +02:00
parent 65791ae804
commit 461395efdf

View File

@ -29,7 +29,10 @@ public class DummyDequeuer extends Thread {
while(true) { while(true) {
try { try {
ADataObject o = this.queue.take(); ADataObject o = this.queue.take();
if (((Double)o.getValues().get("errorRatio")) > 0) { if (((Double)o.getValues().get("errorRatio")) == 0.0) {
System.out.print(ANSI_GREEN);
}
if (((Double)o.getValues().get("errorRatio")) > 0.25) {
System.out.print(ANSI_RED); System.out.print(ANSI_RED);
} }
System.out.print("DummyDequeuer: " + o.toString()); System.out.print("DummyDequeuer: " + o.toString());