Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
clintropolis committed Oct 23, 2023
1 parent 744e56a commit 8b7a522
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8b7a522

Please sign in to comment.