Skip to content

fix(perc-content-explorer): DCE cataloger this-escape real fix (#2547) - #2610

Merged
natechadwick merged 1 commit into
mainfrom
fix/issue-2547-dce-cataloger-this-escape
Aug 9, 2026
Merged

natechadwick merged 1 commit into
mainfrom
fix/issue-2547-dce-cataloger-this-escape

Conversation

@natechadwick-intsof

Copy link
Copy Markdown
Collaborator

Summary

Real-fix residual this-escape on six Desktop Content Explorer catalogers under parent #2045 / monorepo #2200 (issue #2547). Not suppress-only.

Catalogers

  • PSCommunityCataloger
  • PSRoleCataloger
  • PSSubjectCataloger
  • PSLocaleCataloger
  • PSGlobalTemplateCataloger
  • PSCommunityContentTypeMapperCataloger

Approach

  • Classes marked final
  • Collection/map fields marked final (contents replaced via clear/addAll or putAll)
  • URL constructors assign from package-private pure static parse helpers (no overridable fromXml during construction)
  • Nested Role / Subject made static final (no outer-instance capture)
  • Nested types use private applyFromXml helpers from Element constructors
  • Prior typed Collection/Iterator APIs kept intact
  • Clone rebuilt via default ctor + add (no field reassignment of final refs)

Test plan

  • cd modules/DesktopContentExplorer && ../../mvnw clean install — BUILD SUCCESS
  • PSCatalogerTypingTest — Tests run: 13, Failures: 0 (includes pure parse helpers + clone)
  • Module suite green (existing DCE unit tests)
  • No new compiler warnings on cataloger sources (no this-escape on these files)

Gates evidence

  • Erlang-style self-review: no bugs found; no path I/O; companions = unit tests for pure helpers
  • Standalone module clean install (not reactor -am)
  • Operator: Grok: night-issue-prs (model grok-4.5)

Links

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

Clear javac this-escape on six Desktop Content Explorer catalogers without
@SuppressWarnings: final classes, final collection/map fields, static nested
Role/Subject, private applyFromXml helpers, and package-private pure static
parse helpers used by URL constructors and fromXml. Keeps prior typed
collections. Extends PSCatalogerTypingTest for parse helpers + clone.

Parent: #2045 / monorepo #2200. Fixes #2547.

> Co-Authored by Grok Build using grok-4.5 with agent main.
@natechadwick
natechadwick merged commit b952d45 into main Aug 9, 2026
6 checks passed
@natechadwick
natechadwick deleted the fix/issue-2547-dce-cataloger-this-escape branch August 9, 2026 16:35
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-content-explorer: cataloger this-escape residual (#2045)

2 participants