Browse Source

Reverted unnecessary finals.

MeFisto94 9 years ago
parent
commit
5803c6d107

+ 2 - 2
jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.java

@@ -31,8 +31,8 @@ import javax.swing.tree.TreeSelectionModel;
 public class AddNodeDialog extends javax.swing.JDialog {
 
     private List<ShaderNodeDefinition> defList = new ArrayList<ShaderNodeDefinition>();
-    private final Diagram diagram;
-    private final Point clickPosition;
+    private Diagram diagram;
+    private Point clickPosition;
     private String path;
 
     /**

+ 8 - 8
jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/ConnectionStraight.java

@@ -33,9 +33,9 @@ public class ConnectionStraight extends JPanel implements ComponentListener, Mou
 
     protected Dot start;
     protected Dot end;
-    private final Point[] points = new Point[6];
+    private Point[] points = new Point[6];
     private int pointsSize = 6;
-    private final Corner[] corners = new Corner[6];
+    private Corner[] corners = new Corner[6];
     private String key = "";
     protected MappingBlock mapping;
 
@@ -107,12 +107,12 @@ public class ConnectionStraight extends JPanel implements ComponentListener, Mou
         store.x = p.x - getLocation().x - 1;
         store.y = p.y - getLocation().y - 1;
     }
-    private final Point p1 = new Point();
-    private final Point p2 = new Point();
-    private final Point tp1 = new Point();
-    private final Point bp1 = new Point();
-    private final Point tp2 = new Point();
-    private final Point bp2 = new Point();
+    private Point p1 = new Point();
+    private Point p2 = new Point();
+    private Point tp1 = new Point();
+    private Point bp1 = new Point();
+    private Point tp2 = new Point();
+    private Point bp2 = new Point();
 
     @Override
     protected void paintBorder(Graphics g) {