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 75855 Details for
Bug 199585
NPE in SystemTableViewPart during RSE testsuite testConnectionRemoval
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch fixing the issue
patch199585_testConnectionRemoval.diff.txt (text/plain), 1.97 KB, created by
Martin Oberhuber
on 2007-08-10 10:56:24 EDT
(
hide
)
Description:
Patch fixing the issue
Filename:
MIME Type:
Creator:
Martin Oberhuber
Created:
2007-08-10 10:56:24 EDT
Size:
1.97 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: UI/org/eclipse/rse/internal/ui/view/SystemTableViewPart.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemTableViewPart.java,v >retrieving revision 1.21 >diff -u -r1.21 SystemTableViewPart.java >--- UI/org/eclipse/rse/internal/ui/view/SystemTableViewPart.java 26 Jul 2007 14:59:12 -0000 1.21 >+++ UI/org/eclipse/rse/internal/ui/view/SystemTableViewPart.java 10 Aug 2007 14:57:09 -0000 >@@ -22,6 +22,7 @@ > * Xuan Chen (IBM) - [194838] Move the code for comparing two objects by absolute name to a common location > * Kevin Doyle (IBM) - [193394] After Deleting the folder shown in Table get an error > * Kevin Doyle (IBM) - [197971] NPE when table has no input and doing commands in Systems View >+ * Martin Oberhuber (Wind River) - [199585] Fix NPE during testConnectionRemoval unit test > ********************************************************************************/ > > package org.eclipse.rse.internal.ui.view; >@@ -1544,25 +1545,23 @@ > switch (event.getType()) > { > case ISystemResourceChangeEvents.EVENT_RENAME: >- { > if (child == input) > { > setTitle((IAdaptable) child); > } >- } >- break; >- case ISystemResourceChangeEvents.EVENT_DELETE: >- case ISystemResourceChangeEvents.EVENT_DELETE_MANY: >- { >+ break; >+ case ISystemResourceChangeEvents.EVENT_DELETE: >+ removeFromHistory(event.getSource()); >+ break; >+ case ISystemResourceChangeEvents.EVENT_DELETE_MANY: > Object[] multi = event.getMultiSource(); > for (int i = 0; i < multi.length; i++) { > // Update the history to remove all references to object > removeFromHistory(multi[i]); > } >- } >- break; >- default: >- break; >+ break; >+ default: >+ break; > } > } >
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 199585
: 75855