Skip to content

Commit 765fdf2

Browse files
leerhojmalkin
authored andcommitted
Just want to see if this fixes the CodeQL issue with
/tuple/QuickSelectSketch
1 parent ef5b703 commit 765fdf2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@v2
35+
uses: github/codeql-action/init@v3
3636
with:
3737
languages: ${{ matrix.language }}
3838
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -46,7 +46,7 @@ jobs:
4646
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
4747
# If this step fails, then you should remove it and run the build manually (see below)
4848
- name: Autobuild
49-
uses: github/codeql-action/autobuild@v2
49+
uses: github/codeql-action/autobuild@v3
5050

5151
# ℹ️ Command-line programs to run using the OS shell.
5252
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -59,6 +59,6 @@ jobs:
5959
# ./location_of_script_within_repo/buildscript.sh
6060

6161
- name: Perform CodeQL Analysis
62-
uses: github/codeql-action/analyze@v2
62+
uses: github/codeql-action/analyze@v3
6363
with:
6464
category: "/language:${{matrix.language}}"

src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ private enum Flags { IS_BIG_ENDIAN, IS_IN_SAMPLING_MODE, IS_EMPTY, HAS_ENTRIES,
5858
S[] summaryTable_;
5959

6060
@Override
61-
protected final void finalize() {
61+
protected final void finalize() throws Throwable {
62+
super.finalize();
6263
// SpotBugs CT_CONSTUCTOR_THROW, OBJ11-J
6364
}
6465

0 commit comments

Comments
 (0)