aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2013-03-06 22:07:10 (EST)
committerzzhongwei2013-03-06 22:08:32 (EST)
commit7ec21f8bd2990b7e0639ac3ae7dfcb0c6200d7fa (patch)
tree9b7dc3bd5d4318de8b82b14f1c352272cc4ae27f
parent367334768bb8447a0007a617373ecdf9688cc8ef (diff)
downloadorg.eclipse.pdt-7ec21f8bd2990b7e0639ac3ae7dfcb0c6200d7fa.zip
org.eclipse.pdt-7ec21f8bd2990b7e0639ac3ae7dfcb0c6200d7fa.tar.gz
org.eclipse.pdt-7ec21f8bd2990b7e0639ac3ae7dfcb0c6200d7fa.tar.bz2
[Bug 402603] New: Can't open project properties>Code Style>Formatter
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/OptionsConfigurationBlock.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/OptionsConfigurationBlock.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/OptionsConfigurationBlock.java
index dc14d48..c490e1f 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/OptionsConfigurationBlock.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/OptionsConfigurationBlock.java
@@ -495,7 +495,8 @@ public abstract class OptionsConfigurationBlock {
}
protected String getValue(Key key) {
- if (fDisabledProjectSettings != null) {
+ if (fDisabledProjectSettings != null
+ && fDisabledProjectSettings.get(key) != null) {
return (String) fDisabledProjectSettings.get(key);
}
return key.getStoredValue(fLookupOrder, false, fManager);