1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 00:36:16 +02:00

Bug 464639 - DsfSourceLookupParticipant throwing exception on unknown

object

Change-Id: Iac79f1e942c90d700f5f6275da44ea89597aa3b2
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
This commit is contained in:
Alena Laskavaia 2015-04-14 14:53:24 -04:00 committed by Gerrit Code Review @ Eclipse.org
parent 2015ebc3d0
commit 0fec0f9cd3

View file

@ -191,7 +191,7 @@ public class DsfSourceLookupParticipant implements ISourceLookupParticipant {
if ( !(object instanceof IDMContext) ||
!((IDMContext)object).getSessionId().equals(fSessionId) )
{
throw new CoreException(new Status(IStatus.ERROR, DsfPlugin.PLUGIN_ID, -1, "Invalid object", null)); //$NON-NLS-1$
return null;
}
final IDMContext dmc = (IDMContext)object;