Commit b8f0621
Fix deprecated RoleHierarchyImpl.fromHierarchy() API usage
Replace deprecated RoleHierarchyImpl.fromHierarchy() with the new constructor
and setHierarchy() method to eliminate compilation warnings.
- Changed from: RoleHierarchyImpl.fromHierarchy(hierarchyString)
- Changed to: new RoleHierarchyImpl() + setHierarchy(hierarchyString)
- All tests pass, functionality unchanged
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 823e25e commit b8f0621
File tree
1 file changed
+2
-1
lines changed- src/main/java/com/digitalsanctuary/spring/user/security
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
| 270 | + | |
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
| |||
0 commit comments