Skip to content

Commit

Permalink
SOLR-16974: Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
janhoy committed Nov 22, 2023
1 parent 76f7fe6 commit 6438c6f
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import java.nio.charset.StandardCharsets;
import java.util.Objects;
import java.util.concurrent.ConcurrentHashMap;

import org.apache.solr.SolrTestCaseJ4;
import org.apache.solr.common.SolrException;
import org.junit.Before;
Expand Down Expand Up @@ -115,7 +114,7 @@ public void testGetBlobIncrRefString() {
assertNotNull(ref.blob);
assertEquals(blobData, ref.blob.get());
verify(mockContainer).isZooKeeperAware();
assertTrue(mapMock.get("foo!") instanceof BlobRepository.BlobContent);
assertTrue(mapMock.get("foo!") instanceof BlobRepository.BlobContent);
}

@Test
Expand Down Expand Up @@ -155,7 +154,9 @@ public void testCachedAlready() {
assertNotNull(ref.blob);
assertEquals(blobData, ref.blob.get());
verify(mockContainer).isZooKeeperAware();
assertTrue("Key was not mapped to a BlobContent instance.", mapMock.get("foo!") instanceof BlobRepository.BlobContent);
assertTrue(
"Key was not mapped to a BlobContent instance.",
mapMock.get("foo!") instanceof BlobRepository.BlobContent);
}

@Test
Expand Down Expand Up @@ -188,6 +189,6 @@ public String getName() {
assertNotNull(ref.blob);
assertEquals(PARSED, ref.blob.get());
verify(mockContainer).isZooKeeperAware();
assertTrue(mapMock.get("foo!mocked") instanceof BlobRepository.BlobContent);
assertTrue(mapMock.get("foo!mocked") instanceof BlobRepository.BlobContent);
}
}

0 comments on commit 6438c6f

Please sign in to comment.