Skip to content

Commit

Permalink
Datasketches: Remove isInputThetaSketch from cache key. (apache#2899)
Browse files Browse the repository at this point in the history
  • Loading branch information
gianm authored and fjy committed Apr 29, 2016
1 parent 0d745ee commit 67b47c9
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,6 @@ public String getTypeName()
}
}

@Override
public byte[] getCacheKey()
{
final byte[] superCacheKey = super.getCacheKey();

return ByteBuffer.allocate(superCacheKey.length + 1)
.put(superCacheKey)
.put(isInputThetaSketch ? (byte) 1 : (byte) 0)
.array();
}

@Override
public boolean equals(Object o)
{
Expand Down

0 comments on commit 67b47c9

Please sign in to comment.