minor change to workariund a java6 profiling glitch

This commit is contained in:
Arndt Brenschede 2018-12-16 13:32:16 +01:00
parent 6bd435723f
commit fb9334bf24
5 changed files with 8 additions and 8 deletions

View file

@ -6,21 +6,20 @@ import btools.util.LruMapNode;
public final class CacheNode extends LruMapNode
{
int crc;
byte[] ab;
float[] vars;
@Override
public int hashCode()
{
return crc;
return hash;
}
@Override
public boolean equals( Object o )
{
CacheNode n = (CacheNode) o;
if ( crc != n.crc )
if ( hash != n.hash )
{
return false;
}