| author | David Salinas | 2012-04-25 11:32:44 (EDT) |
|---|---|---|
| committer | Vivian Kong | 2012-04-25 11:32:44 (EDT) |
| commit | 3327881ea4783df1221cf6de892e7754a6580cee (patch) (side-by-side diff) | |
| tree | d0887207addfe0f55c9e9ce647dca60763d24ce9 | |
| parent | 60429374e0a6993fe4e2ad95af325653af32429e (diff) | |
| download | org.eclipse.ptp-3327881ea4783df1221cf6de892e7754a6580cee.zip org.eclipse.ptp-3327881ea4783df1221cf6de892e7754a6580cee.tar.gz org.eclipse.ptp-3327881ea4783df1221cf6de892e7754a6580cee.tar.bz2 | |
Bug 377643 - open Remote Include Browser history when project is closed
trigger Internal Error
| -rw-r--r-- | rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/includebrowser/IncludeBrowserUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/includebrowser/IncludeBrowserUI.java b/rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/includebrowser/IncludeBrowserUI.java index b41e241..d02e997 100644 --- a/rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/includebrowser/IncludeBrowserUI.java +++ b/rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/includebrowser/IncludeBrowserUI.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 Wind River Systems, Inc. and others. + * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -107,7 +107,7 @@ public class IncludeBrowserUI { IIncludeBrowserService service = new IncludeBrowserServiceFactory().getIncludeBrowserService(project); - return service.isIndexed(location, project, monitor); + return (service != null) ? service.isIndexed(location, project, monitor) : false; } } } |

