changeset 7964:afa5accd7234

[SCENEBUILDER] Removed unused code to fix DLS_DEAD_LOCAL_STORE reported by FindBugs.
author eric.le.ponner@oracle.com
date Wed, 03 Sep 2014 19:17:13 +0200
parents 3beaafe4b671
children c1d51a6e4338
files apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java	Wed Sep 03 09:54:13 2014 -0700
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java	Wed Sep 03 19:17:13 2014 +0200
@@ -122,7 +122,6 @@
         } else {
             
             // 2b.1) Removes reference
-            final FXOMInstance targetInstance = reference.getParentProperty().getParentInstance();
             final FXOMPropertyC referenceProperty = reference.getParentProperty();
             final RemovePropertyJob removeReferenceJob 
                     = new RemovePropertyJob(referenceProperty, getEditorController());