diff options
| author | David Salinas | 2012-04-25 15:32:44 +0000 |
|---|---|---|
| committer | Vivian Kong | 2012-04-25 15:32:44 +0000 |
| commit | 3327881ea4783df1221cf6de892e7754a6580cee (patch) | |
| tree | d0887207addfe0f55c9e9ce647dca60763d24ce9 | |
| parent | 60429374e0a6993fe4e2ad95af325653af32429e (diff) | |
| download | org.eclipse.ptp-3327881ea4783df1221cf6de892e7754a6580cee.tar.gz org.eclipse.ptp-3327881ea4783df1221cf6de892e7754a6580cee.tar.xz org.eclipse.ptp-3327881ea4783df1221cf6de892e7754a6580cee.zip | |
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 b41e241e8..d02e99707 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; } } } |
