From 85ea5f3f0dfa023ce618d6a2127affe15ce7c3e3 Mon Sep 17 00:00:00 2001 From: Harsha Vamsi Kalluri Date: Fri, 19 Jul 2024 16:30:23 -0700 Subject: [PATCH] Spotless Signed-off-by: Harsha Vamsi Kalluri --- .../search/approximate/ApproximatePointRangeQuery.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java b/server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java index 7f0f889405e13..bb27ae4412c0a 100644 --- a/server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java +++ b/server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java @@ -75,9 +75,13 @@ protected String toString(int dimension, byte[] value) { int startOffset = bytesPerDim * i; sb.append('['); - sb.append(toString(i, ArrayUtil.copyOfSubArray(pointRangeQuery.getLowerPoint(), startOffset, startOffset + bytesPerDim))); + sb.append( + toString(i, ArrayUtil.copyOfSubArray(pointRangeQuery.getLowerPoint(), startOffset, startOffset + bytesPerDim)) + ); sb.append(" TO "); - sb.append(toString(i, ArrayUtil.copyOfSubArray(pointRangeQuery.getUpperPoint(), startOffset, startOffset + bytesPerDim))); + sb.append( + toString(i, ArrayUtil.copyOfSubArray(pointRangeQuery.getUpperPoint(), startOffset, startOffset + bytesPerDim)) + ); sb.append(']'); }