changeset 8021:31ebc23af41d

[SCENEBUILDER] Removed dead variables form UpdateReferencesJob to fix DLS_DEAD_LOCAL_STORE warning from FindBugs.
author Eric Le Ponner <eric.le.ponner@oracle.com>
date Tue, 09 Sep 2014 20:15:48 +0200
parents 943cc8e0479b
children e3db801977ca
files apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java	Tue Sep 09 18:55:41 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java	Tue Sep 09 20:15:48 2014 +0200
@@ -72,7 +72,6 @@
     @Override
     public void execute() {
         final FXOMDocument fxomDocument = getEditorController().getFxomDocument();
-        final Selection selection = getEditorController().getSelection();
         
         fxomDocument.beginUpdate();
         
@@ -90,7 +89,6 @@
     @Override
     public void undo() {
         final FXOMDocument fxomDocument = getEditorController().getFxomDocument();
-        final Selection selection = getEditorController().getSelection();
         
         fxomDocument.beginUpdate();
         for (int i = fixJobs.size() - 1; i >= 0; i--) {
@@ -103,7 +101,6 @@
     @Override
     public void redo() {
         final FXOMDocument fxomDocument = getEditorController().getFxomDocument();
-        final Selection selection = getEditorController().getSelection();
         
         fxomDocument.beginUpdate();
         subJob.redo();