From d1c960aaf02e5baaca1d5ca261cd83a0567dcecd Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 26 Sep 2023 14:33:15 +0000 Subject: [PATCH] Restyled by clang-format --- .../java/io/fair_acc/chartfx/plugins/BenchPlugin.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/chartfx-chart/src/main/java/io/fair_acc/chartfx/plugins/BenchPlugin.java b/chartfx-chart/src/main/java/io/fair_acc/chartfx/plugins/BenchPlugin.java index 17f823cad..61c4e3464 100644 --- a/chartfx-chart/src/main/java/io/fair_acc/chartfx/plugins/BenchPlugin.java +++ b/chartfx-chart/src/main/java/io/fair_acc/chartfx/plugins/BenchPlugin.java @@ -3,7 +3,6 @@ import java.util.Optional; import java.util.function.UnaryOperator; -import io.fair_acc.chartfx.Chart; import javafx.beans.property.BooleanProperty; import javafx.beans.property.SimpleBooleanProperty; import javafx.collections.FXCollections; @@ -20,6 +19,7 @@ import io.fair_acc.bench.BenchLevel; import io.fair_acc.bench.MeasurementRecorder; +import io.fair_acc.chartfx.Chart; import io.fair_acc.chartfx.XYChart; import io.fair_acc.chartfx.bench.LiveDisplayRecorder; import io.fair_acc.chartfx.utils.FXUtils; @@ -96,8 +96,8 @@ public void enable() { protected MeasurementRecorder createRecorder(XYChart chart) { String title = Optional.ofNullable(chart.getTitle()) - .filter(string -> !string.isEmpty()) - .orElse("Benchmark"); + .filter(string -> !string.isEmpty()) + .orElse("Benchmark"); return LiveDisplayRecorder.createChart(title, pane -> { stage.setScene(new Scene(pane)); stage.show(); @@ -113,7 +113,6 @@ public void disable() { } } - private static final Runnable NO_OP = () -> { - }; + private static final Runnable NO_OP = () -> {}; private Runnable resetRecorder = NO_OP; }