changeset 7641:88da7c8a488d

[SCENEBUILDER] FindBugs: killed DM_NUMBER_CTOR
author yjoan
date Fri, 08 Aug 2014 11:53:41 +0200
parents 133837ac9acc
children 16bd9070810c
files apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerEditor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerEditor.java	Fri Aug 08 11:51:03 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerEditor.java	Fri Aug 08 11:53:41 2014 +0200
@@ -98,7 +98,7 @@
         if (val.isEmpty()) {
             val = "0"; //NOI18N
             getTextField().setText(val);
-            return new Integer(val);
+            return Integer.valueOf(val);
         }
         Object constantValue = constants.get(val.toUpperCase(Locale.ROOT));
         if (constantValue != null) {