Skip to content

Commit

Permalink
fixed checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
lausdahl committed Dec 20, 2023
1 parent 1f1e902 commit de94205
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ public void writeDataPoint(UUID uuid, double time, List<Value> dataPoint) {

Object value = null;
if (d.isNumericDecimal()) {
if (floatFormatter == null)
if (floatFormatter == null) {
value = ((NumericValue) d).doubleValue();
else {
} else {
value = String.format(Locale.US, floatFormatter, ((NumericValue) d).doubleValue());
}
} else if (d.isNumeric()) {
Expand Down

0 comments on commit de94205

Please sign in to comment.