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 118000 Details for
Bug 255466
[Forms]MessageManager.Message.equals() returns incorrect results because of missing parentheses
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]
Patch
clipboard.txt (text/plain), 1.36 KB, created by
Benjamin Cabé
on 2008-11-16 13:54:22 EST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Benjamin Cabé
Created:
2008-11-16 13:54:22 EST
Size:
1.36 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.forms >Index: src/org/eclipse/ui/internal/forms/MessageManager.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/MessageManager.java,v >retrieving revision 1.14 >diff -u -r1.14 MessageManager.java >--- src/org/eclipse/ui/internal/forms/MessageManager.java 24 Jun 2008 15:09:54 -0000 1.14 >+++ src/org/eclipse/ui/internal/forms/MessageManager.java 16 Nov 2008 18:53:09 -0000 >@@ -149,10 +149,10 @@ > if (!(obj instanceof Message)) > return false; > Message msg = (Message) obj; >- return msg.getPrefix() == null ? getPrefix() == null : msg.getPrefix().equals(getPrefix()) && >- msg.getControl() == null ? getControl() == null : msg.getControl().equals(getControl()) && >- msg.getMessageType() == getMessageType() && >- msg.getMessage() == null ? getMessage() == null : msg.getMessage().equals(getMessage()) && >+ return (msg.getPrefix() == null ? getPrefix() == null : msg.getPrefix().equals(getPrefix())) && >+ (msg.getControl() == null ? getControl() == null : msg.getControl().equals(getControl())) && >+ (msg.getMessageType() == getMessageType()) && >+ (msg.getMessage() == null ? getMessage() == null : msg.getMessage().equals(getMessage())) && > msg.getKey().equals(getKey()); > } > }
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:
agarcher
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 255466
: 118000 |
118001