Modify ↓
Opened 6 hours ago
#24944 new task
refactor: optimize OpenDirAction using Java NIO.2 API
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
- Replace legacy java.io.File with java.nio.file.Path and Files.isDirectory.
- Avoid duplicate object instantiation by storing the Path object.
- Handle InvalidPathException to prevent crashes on invalid path strings.
- Synchronize dirPath state with action enablement to prevent logical side effects.
- Remove redundant null checks and improve readability.
Attachments (2)
Change History (2)
by , 6 hours ago
| Attachment: | patch_24944.txt added |
|---|
by , 4 hours ago
| Attachment: | 24944_new.patch added |
|---|
Note:
See TracTickets
for help on using tickets.



replaced tabs