Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2017-11-08 16:34:49 -0500
committerKarsten Thoms2017-11-08 16:34:49 -0500
commitb8015aa45a3d59160bc1c54f34c47de7f414fc3e (patch)
tree6d304a23f02d3785067e302231ce34d728361c85 /org.eclipse.debug.core
parent5a691cd0dea8153bd52edf246a2598fc58bf5a9f (diff)
downloadeclipse.platform.debug-b8015aa45a3d59160bc1c54f34c47de7f414fc3e.tar.gz
eclipse.platform.debug-b8015aa45a3d59160bc1c54f34c47de7f414fc3e.tar.xz
eclipse.platform.debug-b8015aa45a3d59160bc1c54f34c47de7f414fc3e.zip
Change-Id: I67272d54f503635c460ccf382322ac4487933f71 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java
index a463d3e63..a3a21e2eb 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java
@@ -250,7 +250,7 @@ public final class XMLMemento {
}
String strValue = attr.getValue();
try {
- return new Float(strValue);
+ return Float.valueOf(strValue);
} catch (NumberFormatException e) {
DebugPlugin.logMessage("Memento problem - Invalid float for key: " //$NON-NLS-1$
+ key + " value: " + strValue, e); //$NON-NLS-1$

Back to the top