From 765adac1291765751e64a01235a7ad15f5e1d4b0 Mon Sep 17 00:00:00 2001 From: haileyajohnson Date: Thu, 13 Jul 2023 15:02:10 -0400 Subject: [PATCH] spotless --- .../src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cdm/core/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java b/cdm/core/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java index 4fab1cd9ff..4ce291d799 100644 --- a/cdm/core/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java +++ b/cdm/core/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java @@ -237,7 +237,8 @@ private int findSingleHit(double target) { // edge cases: outside first interval double firstCoord1 = axis.getCoordEdge1(0); double firstCoord2 = axis.getCoordEdge2(0); - if ((axis.isAscending() && target < Math.min(firstCoord1, firstCoord2)) || (!axis.isAscending() && target > Math.max(firstCoord1, firstCoord2))) { + if ((axis.isAscending() && target < Math.min(firstCoord1, firstCoord2)) + || (!axis.isAscending() && target > Math.max(firstCoord1, firstCoord2))) { return -1; } int idxFound = -1;