Commit f2d41b9
committed
CxxIssuesReportSensor: introduce short-cut in getInputFileTryRealPath()
* if the given path cannot be found in module we searched after the "real" path
* shortcut: no need to perform the second search i the "real" path is equal to the given one
* this shortcut should save a bit of run-time for the file-systems, which are
case-sensitive (e.g. for the mainstream linux)1 parent 59e82f7 commit f2d41b9
File tree
1 file changed
+13
-1
lines changed- cxx-sensors/src/main/java/org/sonar/cxx/sensors/utils
1 file changed
+13
-1
lines changedLines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
153 | 165 | | |
154 | | - | |
| 166 | + | |
155 | 167 | | |
156 | 168 | | |
157 | 169 | | |
| |||
0 commit comments