Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChainedPreferenceStore.java')
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChainedPreferenceStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChainedPreferenceStore.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChainedPreferenceStore.java
index 7f4e30cd27f..1a9fb178e1d 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChainedPreferenceStore.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChainedPreferenceStore.java
@@ -438,7 +438,7 @@ public class ChainedPreferenceStore implements IPreferenceStore {
else if (thisValue instanceof Float)
return new Float(store.getFloat(property));
else if (thisValue instanceof Integer)
- return new Integer(store.getInt(property));
+ return Integer.valueOf(store.getInt(property));
else if (thisValue instanceof Long)
return new Long(store.getLong(property));
else if (thisValue instanceof String)

Back to the top