mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +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:
parent
2015ebc3d0
commit
0fec0f9cd3
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ public class DsfSourceLookupParticipant implements ISourceLookupParticipant {
|
||||||
if ( !(object instanceof IDMContext) ||
|
if ( !(object instanceof IDMContext) ||
|
||||||
!((IDMContext)object).getSessionId().equals(fSessionId) )
|
!((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;
|
final IDMContext dmc = (IDMContext)object;
|
||||||
|
|
Loading…
Add table
Reference in a new issue