reverted back to allow acquireUsing to be passsed a NULL value

This commit is contained in:
Rob Austin
2014-11-11 08:56:36 +00:00
parent edf2927a06
commit 94aabe3911
6 changed files with 7 additions and 7 deletions
@@ -418,7 +418,7 @@ public class ChronicleMapTest {
map.close();
}
@Test(expected = IllegalArgumentException.class)
@Test
public void testAcquireWithNullContainer() throws Exception {
ChronicleMap<CharSequence, LongValue> map = getSharedMap(10 * 1000, 128, 24);
map.acquireUsing("key", new LongValue$$Native());
@@ -246,7 +246,7 @@ public class ReplicationCheckingMap<K, V> implements ChronicleMap<K, V> {
}
@Override
public V acquireUsing(@NotNull K key, @NotNull V usingValue) {
public V acquireUsing(@NotNull K key, V usingValue) {
return map1.acquireUsing(key, usingValue);
}
@@ -151,7 +151,7 @@ public class StatelessChronicleMapTest extends JSR166TestCase {
}
@Override
public V acquireUsing(@NotNull K key, @NotNull V usingValue) {
public V acquireUsing(@NotNull K key,V usingValue) {
return d.acquireUsing(key, usingValue);
}