Commit 4e3ea4e
committed
fix: only increment depth counter for new projects in cycle detection
Fixed bug where currentDepth was unconditionally incremented in
beginResolvingProject(), causing potential counter mismatches.
Now only increments when project is actually added to processedProjects.
Removed redundant cycle checks in calling code since the method now
handles duplicate projects correctly on its own.1 parent 794caaf commit 4e3ea4e
1 file changed
Lines changed: 6 additions & 11 deletions
File tree
- bundles/com.salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/classpath
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
266 | 271 | | |
267 | 272 | | |
268 | 273 | | |
| |||
372 | 377 | | |
373 | 378 | | |
374 | 379 | | |
375 | | - | |
| 380 | + | |
376 | 381 | | |
377 | 382 | | |
378 | 383 | | |
| |||
386 | 391 | | |
387 | 392 | | |
388 | 393 | | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | 394 | | |
400 | 395 | | |
401 | 396 | | |
| |||
0 commit comments