Commit d9719ca
[performance] avoid File.getCanonicalPath()
File.getCanonicalPath() is a IO Operation that is costly especially on
windows OS.
Instead use a NON-IO .toPath().normalize().toAbsolutePath().toString()
https://bugs.eclipse.org/bugs/show_bug.cgi?id=5716141 parent a639856 commit d9719ca
File tree
2 files changed
+3
-7
lines changed- org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/breakpoints
- org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres
2 files changed
+3
-7
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
1052 | 1051 | | |
1053 | 1052 | | |
1054 | 1053 | | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
| 1054 | + | |
| 1055 | + | |
1060 | 1056 | | |
1061 | 1057 | | |
1062 | 1058 | | |
| |||
0 commit comments