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 2022/12/14 17:12:26 UTC

[datasketches-java] 01/01: Merge pull request #422 from apache/fix_codeql_alerts

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

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

commit 2f8c8ca2f75f25d54adc79ff15b8d638da96bd90
Merge: c29f4c1b bb78da43
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Dec 14 09:12:19 2022 -0800

    Merge pull request #422 from apache/fix_codeql_alerts
    
    This fixes all of the "High", "Error", and "Warnings" issues detected by

 .github/workflows/codeql.yml                       |  1 +
 .../java/org/apache/datasketches/common/Util.java  | 30 +++++++++++++++++++++-
 .../java/org/apache/datasketches/cpc/CpcUnion.java |  6 ++++-
 .../org/apache/datasketches/cpc/PreambleUtil.java  |  2 +-
 .../java/org/apache/datasketches/fdt/Group.java    | 19 ++++++++++----
 .../java/org/apache/datasketches/hll/HllUtil.java  |  2 +-
 .../sampling/ReservoirItemsSketch.java             |  2 +-
 .../sampling/ReservoirLongsSketch.java             |  2 +-
 .../datasketches/tuple/QuickSelectSketch.java      |  2 +-
 .../org/apache/datasketches/common/UtilTest.java   | 18 +++++++++++++
 .../datasketches/cpc/CpcCompressionTest.java       |  2 +-
 .../org/apache/datasketches/cpc/TestAllTest.java   |  2 +-
 .../apache/datasketches/frequencies/DistTest.java  |  4 +--
 .../org/apache/datasketches/hll/UnionTest.java     |  5 ++--
 .../quantiles/CustomQuantilesTest.java             |  7 ++---
 .../quantiles/DirectUpdateDoublesSketchTest.java   |  2 +-
 .../quantiles/HeapCompactDoublesSketchTest.java    |  2 +-
 .../GenericInequalitySearchTest.java               | 30 +++++++++++-----------
 .../quantilescommon/InequalitySearchTest.java      |  2 +-
 .../sampling/ReservoirLongsSketchTest.java         | 21 +++------------
 .../datasketches/theta/BackwardConversions.java    |  2 +-
 .../theta/ConcurrentHeapQuickSelectSketchTest.java | 30 ++++++++++------------
 .../theta/DirectQuickSelectSketchTest.java         | 27 +++++++++----------
 .../datasketches/theta/HeapAlphaSketchTest.java    | 20 +++++++--------
 .../theta/HeapQuickSelectSketchTest.java           | 20 +++++++--------
 25 files changed, 148 insertions(+), 112 deletions(-)


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