Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Salinas2012-05-22 12:44:53 -0400
committerVivian Kong2012-05-22 12:49:25 -0400
commit6091c93f7b959b88b89e02145118441acd43504f (patch)
tree55af9121eb4edf3be0e6cebbb0822d4ba9987027 /build/org.eclipse.cdt.managedbuilder.ui
parenta686aafa3c159aa926bfd261c8d18ff763a026b8 (diff)
downloadorg.eclipse.cdt-6091c93f7b959b88b89e02145118441acd43504f.tar.gz
org.eclipse.cdt-6091c93f7b959b88b89e02145118441acd43504f.tar.xz
org.eclipse.cdt-6091c93f7b959b88b89e02145118441acd43504f.zip
Bug 375859 - Refresh scope becomes empty after closing/opening project
if left to default
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
index cf8f9a0afb..7f3746e538 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
@@ -144,8 +144,7 @@ public class RefreshPolicyTab extends AbstractCBuildPropertyTab {
private void loadInfo() {
HashMap<String, HashMap<IResource, List<RefreshExclusion>>> configMap = fManager.getConfigurationToResourcesMap(fProject);
- if (configMap != null)
- fConfigurationToResourcesToExclusionsMap = copyHashMap(configMap);
+ fConfigurationToResourcesToExclusionsMap = copyHashMap(configMap);
}
private List<RefreshExclusion> getExclusions(String configName, IResource resource) {

Back to the top