no need for volatile references

we make no guarantees wrt threadsafety in this class
This commit is contained in:
Xavier Léauté 2014-03-25 11:06:00 -07:00
parent 7dc0e9f1a9
commit 5eaadfffa9
1 changed files with 3 additions and 3 deletions

View File

@ -202,9 +202,9 @@ public abstract class HyperLogLogCollector implements Comparable<HyperLogLogColl
return buffer.remaining() != NUM_BYTES_FOR_BUCKETS;
}
private volatile ByteBuffer storageBuffer;
private volatile int initPosition;
private volatile Double estimatedCardinality;
private ByteBuffer storageBuffer;
private int initPosition;
private Double estimatedCardinality;
public HyperLogLogCollector(ByteBuffer byteBuffer)
{