1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 15:15:25 +02:00

[229116] NPE in when editing remote file in new workspace

This commit is contained in:
David McKnight 2008-04-28 19:46:47 +00:00
parent 5202697be6
commit 7a2d309eb8

View file

@ -50,6 +50,7 @@
* David Dykstal (IBM) - [168976][api] move ISystemNewConnectionWizardPage from core to UI
* Martin Oberhuber (Wind River) - [228774] Improve ElementComparer Performance
* David McKnight (IBM) - [225747] [dstore] Trying to connect to an "Offline" system throws an NPE
* David McKnight (IBM) - [229116] NPE in when editing remote file in new workspace
********************************************************************************/
package org.eclipse.rse.internal.core.model;
@ -940,6 +941,10 @@ public class SystemRegistry implements ISystemRegistry
if (firstObject == secondObject) {
return true;
}
// should never be comparing null objects
if (firstObject == null || secondObject == null){
return false;
}
ISystemDragDropAdapter adA = null;
ISystemDragDropAdapter adB = null;
if (firstObjectFullName == null) {