Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 338792 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/core/internal/resources/AliasManager.java (+7 lines)
Lines 511-522 Link Here
511
					return 1;
511
					return 1;
512
				}
512
				}
513
513
514
				// compare host
515
				compare = compareStringOrNull(uri1.getHost(), uri2.getHost());
516
				if (compare != 0)
517
					return compare;
518
514
				IPath path1 = new Path(uri1.getPath());
519
				IPath path1 = new Path(uri1.getPath());
515
				IPath path2 = new Path(uri2.getPath());
520
				IPath path2 = new Path(uri2.getPath());
521
516
				// compare devices
522
				// compare devices
517
				compare = compareStringOrNull(path1.getDevice(), path2.getDevice());
523
				compare = compareStringOrNull(path1.getDevice(), path2.getDevice());
518
				if (compare != 0)
524
				if (compare != 0)
519
					return compare;
525
					return compare;
526
					
520
				// compare segments
527
				// compare segments
521
				int segmentCount1 = path1.segmentCount();
528
				int segmentCount1 = path1.segmentCount();
522
				int segmentCount2 = path2.segmentCount();
529
				int segmentCount2 = path2.segmentCount();

Return to bug 338792