mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Revert 'Make working with new bytes' and a couple of fixes
This commit is contained in:
@@ -26,7 +26,7 @@ import net.openhft.chronicle.algo.hashing.LongHashFunction;
|
||||
* but Java 8 doesn't allow to override {@code Object}'s methods by default implementations
|
||||
* in interfaces.
|
||||
*/
|
||||
public abstract class AbstractData<V, T> implements Data<V, T> {
|
||||
public abstract class AbstractData<V> implements Data<V> {
|
||||
|
||||
/**
|
||||
* Constructor for use by subclasses.
|
||||
@@ -49,7 +49,7 @@ public abstract class AbstractData<V, T> implements Data<V, T> {
|
||||
public boolean equals(Object obj) {
|
||||
return obj != null &&
|
||||
obj instanceof Data &&
|
||||
Data.bytesEquivalent(this, (Data<?, ?>) obj);
|
||||
Data.bytesEquivalent(this, (Data<?>) obj);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user