Code tidy a wider set of code.

This commit is contained in:
Peter Lawrey
2015-06-21 12:25:59 +01:00
parent 680182b129
commit 34c4cd8d32
32 changed files with 76 additions and 93 deletions
@@ -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