changeset 5215:fb7da215b220

RT-33092 (cont.) [variable rename]
author Martin Sladecek <martin.sladecek@oracle.com>
date Tue, 01 Oct 2013 15:48:22 +0200
parents cd993475e253
children 604ebe0585ea
files modules/graphics/src/main/java/javafx/scene/layout/GridPane.java
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/scene/layout/GridPane.java	Tue Oct 01 15:46:17 2013 +0200
+++ b/modules/graphics/src/main/java/javafx/scene/layout/GridPane.java	Tue Oct 01 15:48:22 2013 +0200
@@ -2293,14 +2293,14 @@
         return "Grid hgap="+getHgap()+", vgap="+getVgap()+", alignment="+getAlignment();
     }
 
-    private CompositeSize createCompositeRows(double init) {
+    private CompositeSize createCompositeRows(double initSize) {
         return new CompositeSize(getNumberOfRows(), rowPercentHeight, rowPercentTotal,
-                snapSpace(getVgap()), init);
+                snapSpace(getVgap()), initSize);
     }
 
-    private CompositeSize createCompositeColumns(double init) {
+    private CompositeSize createCompositeColumns(double initSize) {
         return new CompositeSize(getNumberOfColumns(), columnPercentWidth, columnPercentTotal,
-                snapSpace(getHgap()), init);
+                snapSpace(getHgap()), initSize);
     }
 
     private int getNodeRowEndConvertRemaining(Node child) {
@@ -2473,9 +2473,9 @@
         private final double totalFixedPercent;
         private final double gap;
 
-        public CompositeSize(int capacity, double fixedPercent[], double totalFixedPercent, double gap, double init) {
+        public CompositeSize(int capacity, double fixedPercent[], double totalFixedPercent, double gap, double initSize) {
             singleSizes = new double[capacity];
-            Arrays.fill(singleSizes, init);
+            Arrays.fill(singleSizes, initSize);
 
             this.fixedPercent = fixedPercent;
             this.totalFixedPercent = totalFixedPercent;