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 4288 Details for
Bug 35490
Search doesn't work for reference of 'cursorLocation'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
CharOperation patch
patch.txt (text/plain), 911 bytes, created by
Philipe Mulet
on 2003-03-21 12:08:07 EST
(
hide
)
Description:
CharOperation patch
Filename:
MIME Type:
Creator:
Philipe Mulet
Created:
2003-03-21 12:08:07 EST
Size:
911 bytes
patch
obsolete
>Index: CharOperation.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java,v >retrieving revision 1.22 >diff -u -r1.22 CharOperation.java >--- CharOperation.java 11 Mar 2003 15:03:55 -0000 1.22 >+++ CharOperation.java 21 Mar 2003 17:02:55 -0000 >@@ -260,7 +260,7 @@ > * > * @param array the given array > * @param prefix the given prefix >- * @return the result of the comparison >+ * @return the result of the comparison (>=0 if array>prefix) > * @exception NullPointerException if either array or prefix is null > */ > public static final int compareWith(char[] array, char[] prefix) { >@@ -276,7 +276,7 @@ > } > if (prefixLength == i) > return 0; >- return 1; >+ return -1; // array is shorter than prefix (e.g. array:'ab' < prefix:'abc'). > } > > /**
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
Actions:
View
|
Diff
Attachments on
bug 35490
: 4288