lukaszlenart opened a new pull request, #42:
URL: https://github.com/apache/struts-intellij-plugin/pull/42

   ## Summary
   
   This PR remediates private and deprecated IntelliJ Platform API usages 
identified in the JetBrains Marketplace verification report for plugin version 
253.x.
   
   ### Critical Fixes (Internal/Scheduled for Removal APIs)
   - Replace `IconManager.loadRasterizedIcon()` with `IconLoader.getIcon()` in 
icon classes
   - Replace `WebFacet.getWebRoots(boolean)` with `getWebRoots()` (deprecated 
boolean param)
   - Replace `AnActionButton` with `DumbAwareAction` in toolbar decorator
   - Replace `ResourceRegistrar.addStdResource(String,String,Class)` with 
ClassLoader version
   
   ### Deprecated API Fixes
   - Replace `IdeFocusManager.doWhenFocusSettlesDown()` with direct 
`requestFocus()`
   - Replace `FilenameIndex.getFilesByName()` with `getVirtualFilesByName()` + 
`PsiManager.findFile()`
   - Replace deprecated `URL(String)` constructor with `URI.create().toURL()`
   
   ### Documented Limitations (No Public Replacement Available)
   - `GraphBuilder.initialize()` - Internal API, documented with TODO
   - `GraphBuilder.queueUpdate()` - Deprecated, documented with TODO
   - `JavaClassReferenceProvider.EXTEND_CLASS_NAMES` - Deprecated, documented 
with TODO
   - `FacetConfiguration.readExternal/writeExternal` - Deprecated but part of 
interface
   
   ## Test Plan
   - [x] `./gradlew build -x rat` - Build successful
   - [x] `./gradlew test -x rat` - All tests pass
   - [ ] Run `./gradlew runPluginVerifier` to verify reduced API issues
   - [ ] Manual test with `./gradlew runIde`
   
   ## Files Changed
   | File | Changes |
   |------|---------|
   | OgnlIcons.java | IconLoader replacement |
   | Struts2Icons.java | IconLoader replacement |
   | FileReferenceSetHelper.java | WebFacet.getWebRoots() fix |
   | FileSetConfigurationTab.java | DumbAwareAction + requestFocus fixes |
   | Struts2GraphComponent.java | GraphBuilder TODO documentation |
   | Struts2GraphFileEditor.java | GraphBuilder TODO documentation |
   | Struts2ResourceProvider.java | ClassLoader-based resource registration |
   | Struts2GlobalMacroProvider.java | FilenameIndex replacement |
   | HardcodedActionUrlInspection.java | URI.create().toURL() fix |
   | ConstantValueClassConverter.java | EXTEND_CLASS_NAMES documentation |
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to