From 8b7a5222fcec30c61c9b2cd32a37fbde81a2d9ba Mon Sep 17 00:00:00 2001 From: Clint Wylie Date: Mon, 23 Oct 2023 14:01:39 -0700 Subject: [PATCH] fix style --- .../segment/nested/DictionaryIdLookupTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/processing/src/test/java/org/apache/druid/segment/nested/DictionaryIdLookupTest.java b/processing/src/test/java/org/apache/druid/segment/nested/DictionaryIdLookupTest.java index 4753e75a82a8..5f404298515f 100644 --- a/processing/src/test/java/org/apache/druid/segment/nested/DictionaryIdLookupTest.java +++ b/processing/src/test/java/org/apache/druid/segment/nested/DictionaryIdLookupTest.java @@ -86,9 +86,9 @@ public void testIdLookup() throws IOException true ); FrontCodedIntArrayIndexedWriter arrayWriter = new FrontCodedIntArrayIndexedWriter( - medium, - ByteOrder.nativeOrder(), - 4 + medium, + ByteOrder.nativeOrder(), + 4 ); Path dictTempPath = temp.newFolder().toPath(); @@ -118,7 +118,7 @@ public void testIdLookup() throws IOException for (Long l : sortedValueDictionary.getSortedLongs()) { longWriter.write(l); } - for (Double d: sortedValueDictionary.getSortedDoubles()) { + for (Double d : sortedValueDictionary.getSortedDoubles()) { doubleWriter.write(d); } @@ -150,9 +150,9 @@ public void testIdLookup() throws IOException Assert.assertEquals(3, tempDir.listFiles().length); // looking up arrays pulls in array file - Assert.assertEquals(12, idLookup.lookupArray(new int[]{1,2})); - Assert.assertEquals(13, idLookup.lookupArray(new int[]{4,5,6})); - Assert.assertEquals(14, idLookup.lookupArray(new int[]{10,8,9,11})); + Assert.assertEquals(12, idLookup.lookupArray(new int[]{1, 2})); + Assert.assertEquals(13, idLookup.lookupArray(new int[]{4, 5, 6})); + Assert.assertEquals(14, idLookup.lookupArray(new int[]{10, 8, 9, 11})); Assert.assertEquals(4, tempDir.listFiles().length); // close it removes all the temp files