< prev index next >

src/java.desktop/share/classes/javax/swing/text/html/FrameSetView.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -182,11 +182,11 @@
                                                  offsets, spans);
     }
 
     protected SizeRequirements[] getChildRequests(int targetSpan, int axis) {
 
-        int span[] = new int[children.length];
+        int[] span = new int[children.length];
 
         spread(targetSpan, span);
         int n = getViewCount();
         SizeRequirements[] reqs = new SizeRequirements[n];
         for (int i = 0, sIndex = 0; i < n; i++) {

@@ -213,11 +213,11 @@
      * This method is responsible for returning in span[] the
      * span for each child view along the major axis.  it
      * computes this based on the information that extracted
      * from the value of the ROW/COL attribute.
      */
-    private void spread(int targetSpan, int span[]) {
+    private void spread(int targetSpan, int[] span) {
 
         if (targetSpan == 0) {
             return;
         }
 
< prev index next >