Repository navigation
fix(perc-content-explorer): PSFolderActionManager rawtypes residual (#2369) #2381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
docs/ai-generated/code-reviews/issue-2369-psfolder-ui-rawtypes-erlang.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Erlang review: issue #2369 PSFolder* UI rawtypes residual batch | ||
|
|
||
| Date: 2026-08-07 | ||
| Branch: fix/issue-2369-psfolder-ui-rawtypes | ||
| Reviewer persona: Erlang (pre-commit gate) | ||
|
|
||
| ## Scope | ||
| - Parameterize `PSFolderActionManager` iterators, lists, and collection APIs (add/copy/delete/move/purge, loadChildren, search listeners, node↔folder converters, CM1 site filter) | ||
| - Typed public APIs: `Iterator<? extends PSNode>` for node lists; `Iterator<PSNode>` loadChildren; `Set<?>` folder communities; `List<PSNode>` CM1 filter | ||
| - Behavioral tests: `PSFolderActionManagerTest` (CM1 filter, folder/node conversion, null rejection) | ||
| - Residual UI panels (AclEditor/Security/General/Properties/Dialog) filed separately — out of this PR’s coherent manager slice | ||
|
|
||
| ## Findings | ||
| ### Bugs | ||
| None introduced. One latent defect fixed: site-definition failure aggregation in `move` previously appended `iter.hasNext()` (boolean) instead of the error string; now appends each `String` from `errors`. | ||
|
|
||
| ### Behavioral tests | ||
| - `PSFolderActionManagerTest`: CM1 filter keep/drop/null/empty; folder↔node id round-trip; nodesToFolders/foldersToNodes order; null arg rejection | ||
| - Module suite green after clean install | ||
|
|
||
| ### Cross-platform paths | ||
| No new path/file I/O. Existing URL/site path string handling unchanged (`\`→`/` normalize already present). | ||
|
|
||
| ### Change-class companions | ||
| - Callers already pass `Iterator`/`List` of `PSNode`; method signature widening to `? extends PSNode` is source-compatible | ||
| - `executeSearch` still returns raw `List` on main (typed on open #2378); local unchecked cast with `@SuppressWarnings("unchecked")` at one boundary | ||
| - Proxy methods (`addChildren`/`copyChildren`/etc.) remain raw in `PSFolderProcessorProxy` — outside this module | ||
|
|
||
| ## Gate | ||
| PASS for commit/PR (no bug findings; tests present; module clean install green). | ||
|
|
||
| > Co-Authored by Grok Build using grok-4.5 with agent main. |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.