Skip to content

Resolve unchecked, deprecation and dangling doc-comment lint warnings in key.ui GUI classes - #4011

Closed
wadoon wants to merge 2 commits into
weigl/cw-miscfrom
weigl/cw-2-ui
Closed

wadoon wants to merge 2 commits into
weigl/cw-miscfrom
weigl/cw-2-ui

Conversation

@wadoon

@wadoon wadoon commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

What

This branch originally resolved 100 javac lint warnings in key.ui GUI
classes — 61× serial, 34× this-escape, 3× deprecation, 1× unchecked,
1× dangling-doc-comments — as pass 2 of the compiler-warning cleanup.

Per the campaign cleanup decision, ALL serial and this-escape fixes were
REMOVED from history
, so what remains is:

  • deprecation (3): GeneralFailureEvent suppressions with rationale
    comments, in WindowUserInterfaceControl (saveProof,
    saveProofBundle) and ProofManagementAction.showProofManagement —
    migrating to the successor IssueDialog would bypass the configurable
    NotificationManager/tasks notification pipeline (behavior change).
  • unchecked (1): ApplyStrategyInfo cast in the GUI core
    (WindowUserInterfaceControl.taskFinishedInternal) with its rationale
    comment ("only an ApplyStrategyInfo for ProverCore sources; cast is safe").
  • dangling doc comment (1): WindowUserInterfaceControl demotes a
    /**-style comment that documents an outer (commented-out) declaration to
    a plain /* comment so javac no longer warns about it.

2 commits total (head 1ad83f57eb).

Verification

History was rebuilt by re-writing the two original commits without the
serial/this-escape content: a pattern scan over the rewritten commits' Java
diffs (serialVersionUID, @Serial, "this-escape", "serial",
transient) is clean, and git diff of the old vs. new branch heads shows
only removals of campaign serial/this-escape content plus restorations of the
base tree. All other warning fixes (deprecation, unchecked, dangling doc
comment) are kept exactly as-is. No behavioral changes.

Commits carry Co-Authored-By: OpenCode (KIT Medium).

@wadoon wadoon changed the title weigl/cw 2 ui Pass 2: Fix serial and this-escape warnings in key.ui GUI classes Oct 24, 2026
@wadoon
wadoon added this pull request to stack #4014 October 24, 2026 23:13
@wadoon wadoon changed the title Pass 2: Fix serial and this-escape warnings in key.ui GUI classes Pass 2: deprecation and unchecked lint warnings in key.ui GUI classes Oct 25, 2026
@wadoon wadoon changed the title Pass 2: deprecation and unchecked lint warnings in key.ui GUI classes Resolve unchecked, deprecation and dangling doc-comment lint warnings in key.ui GUI classes Oct 25, 2026
… in key.ui GUI core

Fix the remaining non-serial/this-escape lint warnings in WindowUserInterfaceControl: suppress the unchecked ApplyStrategyInfo cast and two GeneralFailureEvent deprecations, and demote a javadoc comment that documents a commented-out method.

Co-Authored-By: OpenCode (KIT Medium)
Suppress the GeneralFailureEvent deprecation in ProofManagementAction; migrating to IssueDialog would bypass the configurable NotificationManager pipeline.

Co-Authored-By: OpenCode (KIT Medium)
@wadoon wadoon closed this Oct 25, 2026
@wadoon
wadoon deleted the weigl/cw-2-ui branch October 25, 2026 02:33
@wadoon
wadoon removed this pull request from stack #4014 October 26, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant