mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Code tidy a wider set of code.
This commit is contained in:
@@ -745,7 +745,7 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
"instance in the usual way.", e);
|
||||
|
||||
try {
|
||||
return (T) aClass.newInstance();
|
||||
return aClass.newInstance();
|
||||
} catch (Exception e1) {
|
||||
throw new IllegalStateException("It has not been possible to create a instance " +
|
||||
"of class=" + aClass.getSimpleName() +
|
||||
@@ -1022,7 +1022,7 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
@Override
|
||||
public DelegatingMetaBytesInterop<Bytes, BytesInterop<Bytes>> getMetaValueInterop(
|
||||
@NotNull ThreadLocalCopies copies, BytesInterop<Bytes> valueInterop, Bytes value) {
|
||||
return DelegatingMetaBytesInterop.<Bytes, BytesInterop<Bytes>>instance();
|
||||
return DelegatingMetaBytesInterop.instance();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user