Skip to content

fix(deployer): Xlint ContentRelation handler generics (#3017) - #3046

Merged
natechadwick merged 1 commit into
mainfrom
fix/issue-3017-content-relation-xlint
Aug 11, 2026
Merged

natechadwick merged 1 commit into
mainfrom
fix/issue-3017-content-relation-xlint

Conversation

@natechadwick-intsof

Copy link
Copy Markdown
Collaborator

Summary

Continue perc-deployer Xlint cleanup after batch 10 (#3016). This slice clears PSContentRelationDependencyHandler (~68 main-source diagnostics) with real generics:

  • Typed Iterator/List/Map/Set surfaces for install, id-types, and inline-link processing
  • Map<Integer, PSRelationship> relationship map; typed JDBC/table field maps in processFieldSet
  • Removed redundant casts; fixed static field qualification; List<PSRelationship> for modifyField (no unchecked PSRelationshipSet conversion)
  • Signature unit test PSContentRelationHandlerTypedTest
  • No product behavior change; no whole-class @SuppressWarnings

Fixes #3017
Partial #2028 (perc-deployer Xlint epic)
Partial #2200 (monorepo Xlint/javadoc tracker)
Prior: PR #3016 batch 10 ContentAssembler/Content/ContentListDef

Operator: Grok: night-issue-prs (model grok-4.5)

Test plan

  1. cd deployer && ../mvnw.cmd clean install (JDK 21) — expect BUILD SUCCESS
  2. Confirm PSContentRelationHandlerTypedTest runs (2 tests)
  3. Confirm zero compiler warnings on PSContentRelationDependencyHandler.java
  4. Residual inventory still shows PSContentTypeDependencyHandler as top main-source residual (~69)

Checklist

  • Product documentation — N/A (pure generics tech-debt; no operator/behavior change)
  • Unit / module tests — PSContentRelationHandlerTypedTest; deployer standalone clean install green
  • WebUI + Playwright — N/A (no WebUI product screen change)
  • Build gates — cd deployer && ../mvnw.cmd clean install → BUILD SUCCESS; Tests run: 237, Failures: 0, Errors: 0, Skipped: 19
  • Cross-platform — N/A (no path/file I/O changes)

C3 evidence

  • modules_built: deployer
  • build_evidence: cd deployer; ../mvnw.cmd clean install → BUILD SUCCESS; Tests run: 237, Failures: 0; PSContentRelationHandlerTypedTest Tests run: 2, Failures: 0; zero Xlint on PSContentRelationDependencyHandler
  • downstream_checked: none (no public API shape / final / signature change beyond method return generics already present on overrides; no reverse-dep compile risk)

Co-Authored by Grok Build using grok-4.5 with agent main.

Clear ~68 main-source Xlint diagnostics on PSContentRelationDependencyHandler
after batch 10 (#3016): real Iterator/List/Map generics, remove redundant
casts, typed relationshipMap and processFieldSet maps, lock API shapes with
PSContentRelationHandlerTypedTest. Residual remains (ContentType ~69, others).

Fixes #3017
Partial #2028 #2200

> Co-Authored by Grok Build using grok-4.5 with agent main.
@natechadwick-intsof

Copy link
Copy Markdown
Collaborator Author

Residual after this PR: #3047 (PSContentTypeDependencyHandler ~69). No human QA — pure tech-debt generics; agent-proven via deployer clean install.

Co-Authored by Grok Build using grok-4.5 with agent main.

@natechadwick
natechadwick merged commit d6f54d8 into main Aug 11, 2026
6 checks passed
@natechadwick
natechadwick deleted the fix/issue-3017-content-relation-xlint branch August 11, 2026 20:01
natechadwick pushed a commit that referenced this pull request Aug 11, 2026
…3059)

Clear ~69 main-source Xlint diagnostics on PSContentTypeDependencyHandler
after ContentRelation (#3017/#3046): typed Iterator overrides, id-types
List mappings, archive file iterators, PSPair diamond, local workflow
List cast. Signature unit test PSContentTypeHandlerTypedTest.

Fixes #3047
Partial #2028 #2200

> Co-Authored by Grok Build using grok-4.5 with agent main.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model:grok-4.5 Grok 4.5 model operator:grok Changes authored by Grok operator:night-issue-prs night-issue-prs workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[8.2] perc-deployer Xlint residual after #2028 batch 10 Content* handlers

2 participants