Remove newKeyInstance() and newValueInstance() as more confusing than helpful

This commit is contained in:
leventov
2015-11-25 01:03:07 +03:00
parent 582560ed15
commit 114d2840f1
12 changed files with 86 additions and 260 deletions
@@ -234,16 +234,6 @@ public class ReplicationCheckingMap<K, V> implements ChronicleMap<K, V> {
throw new UnsupportedOperationException();
}
@Override
public V newValueInstance() {
throw new UnsupportedOperationException();
}
@Override
public K newKeyInstance() {
throw new UnsupportedOperationException();
}
@Override
public Class<K> keyClass() {
return map1.keyClass();