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 01fd934 commit 570bd26
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package io.fair_acc.chartfx.renderer.spi;

import java.security.InvalidParameterException;

import javafx.geometry.Orientation;
import javafx.scene.canvas.GraphicsContext;

import io.fair_acc.bench.DurationMeasure;
import io.fair_acc.bench.Measurable;
import io.fair_acc.bench.MeasurementRecorder;
Expand All @@ -10,10 +15,6 @@
import io.fair_acc.chartfx.ui.css.DataSetNode;
import io.fair_acc.dataset.DataSet;
import io.fair_acc.dataset.utils.AssertUtils;
import javafx.geometry.Orientation;
import javafx.scene.canvas.GraphicsContext;

import java.security.InvalidParameterException;

/**
* Renderer that requires an X and a Y axis
Expand All @@ -36,7 +37,7 @@ private XYChart requireChartXY(Chart chart) {
return (XYChart) chart;
}
throw new InvalidParameterException("must be derivative of XYChart for renderer - "
+ this.getClass().getSimpleName());
+ this.getClass().getSimpleName());
}

@Override
Expand Down

0 comments on commit 570bd26

Please sign in to comment.