From 0ec88c6d36cec8f95edfa736a0e51d1f30ca14e7 Mon Sep 17 00:00:00 2001 From: Lee Rhodes Date: Wed, 6 Dec 2023 17:49:48 -0800 Subject: [PATCH] Add final --- src/main/java/org/apache/datasketches/hll/Union.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/datasketches/hll/Union.java b/src/main/java/org/apache/datasketches/hll/Union.java index 986537941..530f646f6 100644 --- a/src/main/java/org/apache/datasketches/hll/Union.java +++ b/src/main/java/org/apache/datasketches/hll/Union.java @@ -306,7 +306,7 @@ public byte[] toUpdatableByteArray() { @Override public String toString(final boolean summary, final boolean hllDetail, final boolean auxDetail, final boolean all) { - HllSketch clone = gadget.copy(); + final HllSketch clone = gadget.copy(); checkRebuildCurMinNumKxQ(clone); return clone.toString(summary, hllDetail, auxDetail, all); }