Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 190259 Details for
Bug 338792
AliasManager compare method does not check host names of uri
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
proposed patch
338792_patch.txt (text/plain), 1.10 KB, created by
Martin Tauber
on 2011-03-03 08:16:35 EST
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Martin Tauber
Created:
2011-03-03 08:16:35 EST
Size:
1.10 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.core.resources >Index: src/org/eclipse/core/internal/resources/AliasManager.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/AliasManager.java,v >retrieving revision 1.50 >diff -u -r1.50 AliasManager.java >--- src/org/eclipse/core/internal/resources/AliasManager.java 13 Dec 2010 22:18:43 -0000 1.50 >+++ src/org/eclipse/core/internal/resources/AliasManager.java 3 Mar 2011 13:12:39 -0000 >@@ -511,12 +511,19 @@ > return 1; > } > >+ // compare host >+ compare = compareStringOrNull(uri1.getHost(), uri2.getHost()); >+ if (compare != 0) >+ return compare; >+ > IPath path1 = new Path(uri1.getPath()); > IPath path2 = new Path(uri2.getPath()); >+ > // compare devices > compare = compareStringOrNull(path1.getDevice(), path2.getDevice()); > if (compare != 0) > return compare; >+ > // compare segments > int segmentCount1 = path1.segmentCount(); > int segmentCount2 = path2.segmentCount();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
sptaszkiewicz
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 338792
: 190259 |
212383