changeset 7768:9b0ba231846e

[SCENEBUILDER] Updated FxIdCollector to fix DM_BOXED_PRIMITIVE_FOR_PARSING warning reported by FindBugs.
author Eric Le Ponner <eric.le.ponner@oracle.com>
date Fri, 22 Aug 2014 11:36:16 +0200
parents 7d6c721cfd7f
children bbe230959561
files apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FxIdCollector.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FxIdCollector.java	Fri Aug 22 11:12:42 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FxIdCollector.java	Fri Aug 22 11:36:16 2014 +0200
@@ -120,7 +120,7 @@
             }
             if (endIndex < fxId.length()) {
                 this.prefix = fxId.substring(0, endIndex);
-                this.suffix = Integer.valueOf(fxId.substring(endIndex));
+                this.suffix = Integer.parseInt(fxId.substring(endIndex));
             } else {
                 this.prefix = fxId;
                 this.suffix = -1;