dfs: silence resource warnings in DfsBlockCacheTest
Change-Id: Ia934d8578592dc20837944d50acfb8920e260893
This commit is contained in:
parent
f414f7de1f
commit
a1e4825c4e
|
@ -72,6 +72,7 @@ public void setUp() {
|
|||
resetCache();
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
@Test
|
||||
public void streamKeyReusesBlocks() throws Exception {
|
||||
DfsRepositoryDescription repo = new DfsRepositoryDescription("test");
|
||||
|
@ -98,6 +99,7 @@ public void streamKeyReusesBlocks() throws Exception {
|
|||
assertEquals(oldSize, cache.getCurrentSize());
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
@Test
|
||||
public void weirdBlockSize() throws Exception {
|
||||
DfsRepositoryDescription repo = new DfsRepositoryDescription("test");
|
||||
|
|
Loading…
Reference in New Issue