You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2023/12/07 01:50:02 UTC

(datasketches-java) 01/01: Add final

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch add_final
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git

commit 0ec88c6d36cec8f95edfa736a0e51d1f30ca14e7
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Dec 6 17:49:48 2023 -0800

    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 98653794..530f646f 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 class Union extends BaseHllSketch {
   @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);
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org