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 16489 Details for
Bug 80474
[Actions] Compare with each other does not scale for large directories when ignore whitespace is enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fixes the problem on my rocket
falsepositivematch.txt (text/plain), 1.01 KB, created by
Oyvind Harboe
on 2004-12-09 08:07:47 EST
(
hide
)
Description:
Fixes the problem on my rocket
Filename:
MIME Type:
Creator:
Oyvind Harboe
Created:
2004-12-09 08:07:47 EST
Size:
1.01 KB
patch
obsolete
>Index: Differencer.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/Differencer.java,v >retrieving revision 1.15 >diff -u -r1.15 Differencer.java >--- Differencer.java 1 Dec 2004 14:24:31 -0000 1.15 >+++ Differencer.java 9 Dec 2004 13:03:19 -0000 >@@ -447,6 +447,13 @@ > int c2= is2.read(); > if (c1 == -1 && c2 == -1) > return true; >+ /* FIX!!!! Obviously this is not the way to fix the problem, >+ but it helps point out where the problem is */ >+ if (isWhiteSpace(c1)) >+ continue; >+ if (isWhiteSpace(c2)) >+ continue; >+ > if (c1 != c2) > break; > >@@ -472,6 +479,14 @@ > return false; > } > >+ /** >+ * @param c1 >+ * @return >+ */ >+ private boolean isWhiteSpace(int c1) { >+ return (c1==' ')||(c1=='\t')||(c1=='\r')||(c1=='\n'); >+ } >+ > /* > * Tries to return an InputStream for the given object. > * Returns <code>null</code> if the object not an IStreamContentAccessor
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 80474
:
16458
| 16489