@Test public void getNameTest() { for (int i = 0; i < 10; i++) { long pos = Utils.getRandomLong(TestUtils.RANDOM, 1000); long gen = Utils.getRandomLong(TestUtils.RANDOM, 1000); assertEquals("Did not get expected name", pos + BlobStore.SEPARATOR + gen, LogSegmentNameHelper.getName(pos, gen)); } }
static String getName(long pos, long gen) { return pos + BlobStore.SEPARATOR + gen; }
LogSegmentNameHelper { static String getName(long pos, long gen) { return pos + BlobStore.SEPARATOR + gen; } }
LogSegmentNameHelper { static String getName(long pos, long gen) { return pos + BlobStore.SEPARATOR + gen; }  }
LogSegmentNameHelper { static String getName(long pos, long gen) { return pos + BlobStore.SEPARATOR + gen; }   }
LogSegmentNameHelper { static String getName(long pos, long gen) { return pos + BlobStore.SEPARATOR + gen; }    }