mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8211300: Convert C-style array declarations in JDK client code
Reviewed-by: prr, serb
This commit is contained in:
parent
c33f1a61de
commit
fc807d0914
339 changed files with 1645 additions and 1645 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2015, 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
|
||||
|
@ -409,7 +409,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache {
|
|||
*/
|
||||
public void treeNodesChanged(TreeModelEvent e) {
|
||||
if(e != null) {
|
||||
int changedIndexs[] = e.getChildIndices();
|
||||
int[] changedIndexs = e.getChildIndices();
|
||||
TreeStateNode changedNode = getNodeForPath(
|
||||
SwingUtilities2.getTreePath(e, getModel()), false, false);
|
||||
|
||||
|
@ -456,7 +456,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache {
|
|||
*/
|
||||
public void treeNodesInserted(TreeModelEvent e) {
|
||||
if(e != null) {
|
||||
int changedIndexs[] = e.getChildIndices();
|
||||
int[] changedIndexs = e.getChildIndices();
|
||||
TreeStateNode changedParentNode = getNodeForPath(
|
||||
SwingUtilities2.getTreePath(e, getModel()), false, false);
|
||||
/* Only need to update the children if the node has been
|
||||
|
@ -522,7 +522,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache {
|
|||
*/
|
||||
public void treeNodesRemoved(TreeModelEvent e) {
|
||||
if(e != null) {
|
||||
int changedIndexs[];
|
||||
int[] changedIndexs;
|
||||
TreeStateNode changedParentNode;
|
||||
|
||||
changedIndexs = e.getChildIndices();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue