Fix compile error in perc-distribution-tree Main.java (entryDest -> newFile) - #64
Merged
Merged
Conversation
PR #35 (codeql zipslip Task 5) renamed the local extract-path variable to 'newFile' but left the executable-bit block in extractArchive() referencing the old 'entryDest' name, breaking the perc-distribution-tree compile: Main.java:[283,23] cannot find symbol symbol: variable entryDest Replace 'entryDest.toFile()' with the in-scope 'newFile' (also drops the redundant .toFile() since newFile is already a File). Also wraps two Spotless-flagged // codeql comments that exceeded the 120-char limit.
natechadwick-intsof
approved these changes
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR #35 (codeql zipslip Task 5) renamed the local extract-path variable in Main.extractArchive() to
ewFile but left the executable-bit block referencing the old entryDest name, breaking the perc-distribution-tree compile:
Main.java:[283,23] cannot find symbol symbol: variable entryDestFix
Replace entryDest.toFile() with the in-scope
ewFile (also drops the redundant .toFile() since
ewFile is already a File).
Verification
./mvn-env.bat compile -pl modules/perc-distribution-tree -DskipTests => BUILD SUCCESSNotes
Two // codeql[java/zipslip] comments added in PR #35 exceed the 120-char limit and have been wrapped by Spotless as part of the same commit.