Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and ennerf committed Sep 26, 2023
1 parent 58aa95e commit d1c960a
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -96,8 +96,8 @@ public void enable() {

protected MeasurementRecorder createRecorder(XYChart chart) {
String title = Optional.ofNullable(chart.getTitle())

Check warning on line 98 in chartfx-chart/src/main/java/io/fair_acc/chartfx/plugins/BenchPlugin.java

View check run for this annotation

Codecov / codecov/patch

chartfx-chart/src/main/java/io/fair_acc/chartfx/plugins/BenchPlugin.java#L98

Added line #L98 was not covered by tests
.filter(string -> !string.isEmpty())
.orElse("Benchmark");
.filter(string -> !string.isEmpty())
.orElse("Benchmark");
return LiveDisplayRecorder.createChart(title, pane -> {
stage.setScene(new Scene(pane));
stage.show();
Expand All @@ -113,7 +113,6 @@ public void disable() {
}
}

private static final Runnable NO_OP = () -> {
};
private static final Runnable NO_OP = () -> {};
private Runnable resetRecorder = NO_OP;
}

0 comments on commit d1c960a

Please sign in to comment.