Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2017-11-08 21:36:24 +0000
committerKarsten Thoms2017-11-08 21:36:24 +0000
commit8127b32ac942fb77fe4edda6ef5e1a982ec1c04a (patch)
treeedac12b274c7a20fde04ed71198ab8875ab95c27 /org.eclipse.ui.editors/src
parent4e0ad0c1c3cd6a3e0cb2a46f01ed9600aef09bd8 (diff)
downloadeclipse.platform.text-8127b32ac942fb77fe4edda6ef5e1a982ec1c04a.tar.gz
eclipse.platform.text-8127b32ac942fb77fe4edda6ef5e1a982ec1c04a.tar.xz
eclipse.platform.text-8127b32ac942fb77fe4edda6ef5e1a982ec1c04a.zip
Change-Id: Ieb6a5450b76c7a5305678f09ecb3785a7fe90c47 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'org.eclipse.ui.editors/src')
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChainedPreferenceStore.java6
1 files changed, 3 insertions, 3 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 1a9fb178e1d..0d84f027c07 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
@@ -434,13 +434,13 @@ public class ChainedPreferenceStore implements IPreferenceStore {
if (thisValue instanceof Boolean)
return store.getBoolean(property) ? Boolean.TRUE : Boolean.FALSE;
else if (thisValue instanceof Double)
- return new Double(store.getDouble(property));
+ return Double.valueOf(store.getDouble(property));
else if (thisValue instanceof Float)
- return new Float(store.getFloat(property));
+ return Float.valueOf(store.getFloat(property));
else if (thisValue instanceof Integer)
return Integer.valueOf(store.getInt(property));
else if (thisValue instanceof Long)
- return new Long(store.getLong(property));
+ return Long.valueOf(store.getLong(property));
else if (thisValue instanceof String)
return store.getString(property);

Back to the top