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 201906 Details for
Bug 347557
[Edit] NPE when saving a file in a compare editor (always)
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]
org.eclipse.team.ui fix v01
clipboard.txt (text/plain), 1.70 KB, created by
Tomasz Zarna
on 2011-08-22 07:08:57 EDT
(
hide
)
Description:
org.eclipse.team.ui fix v01
Filename:
MIME Type:
Creator:
Tomasz Zarna
Created:
2011-08-22 07:08:57 EDT
Size:
1.70 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.team.ui >Index: src/org/eclipse/team/internal/ui/synchronize/LocalResourceSaveableComparison.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/LocalResourceSaveableComparison.java,v >retrieving revision 1.11 >diff -u -r1.11 LocalResourceSaveableComparison.java >--- src/org/eclipse/team/internal/ui/synchronize/LocalResourceSaveableComparison.java 15 Apr 2011 11:51:01 -0000 1.11 >+++ src/org/eclipse/team/internal/ui/synchronize/LocalResourceSaveableComparison.java 22 Aug 2011 10:59:38 -0000 >@@ -247,10 +247,10 @@ > */ > public String getName() { > // Return the name of the file element as held in the compare input >- if (fileElement.equals(input.getLeft())) { >+ if (input.getLeft().equals(fileElement)) { > return input.getLeft().getName(); > } >- if (fileElement.equals(input.getRight())) { >+ if (input.getRight().equals(fileElement)) { > return input.getRight().getName(); > } > // Fallback call returning name of the main non-null element of the input >@@ -288,14 +288,14 @@ > > ContentMergeViewer cmv = (ContentMergeViewer) e.getSource(); > >- if (fileElement.equals(input.getLeft())) { >+ if (input.getLeft().equals(fileElement)) { > if (changed && cmv.internalIsLeftDirty()) > setDirty(changed); > else if (!changed && !cmv.internalIsLeftDirty()) { > setDirty(changed); > } > } >- if (fileElement.equals(input.getRight())) { >+ if (input.getRight().equals(fileElement)) { > if (changed && cmv.internalIsRightDirty()) > setDirty(changed); > else if (!changed && !cmv.internalIsRightDirty()) {
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 347557
:
201902
|
201906
|
204202
|
204452
|
204457
|
204502
|
204754
|
204957
|
205359
|
205361
|
205407
|
205708