diff options
Diffstat (limited to 'toolkit/test/accessibility')
-rw-r--r-- | toolkit/test/accessibility/AccTreeNode.java | 2 | ||||
-rw-r--r-- | toolkit/test/accessibility/AccessibilityTreeModel.java | 2 | ||||
-rw-r--r-- | toolkit/test/accessibility/AccessibleTreeCellRenderer.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/test/accessibility/AccTreeNode.java b/toolkit/test/accessibility/AccTreeNode.java index c97225752b2d..47cd3924b7bd 100644 --- a/toolkit/test/accessibility/AccTreeNode.java +++ b/toolkit/test/accessibility/AccTreeNode.java @@ -359,7 +359,7 @@ class AccTreeNode aDescriptor.mnChildCount = nChildCount; // Fill in the indices of the updated children. for (int j=0; j<nChildCount; j++) - aChildIndices.add(new Integer(j+nOffset)); + aChildIndices.add(j+nOffset); } nOffset += aDescriptor.mnChildCount; } diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java index 12ff8a6195d7..bd442ed0912c 100644 --- a/toolkit/test/accessibility/AccessibilityTreeModel.java +++ b/toolkit/test/accessibility/AccessibilityTreeModel.java @@ -401,7 +401,7 @@ public class AccessibilityTreeModel int nChildIndices[] = new int[nCount]; for (int i=0; i<nCount; i++) { - int nIndex = aChildIndices.elementAt(i).intValue(); + int nIndex = aChildIndices.elementAt(i); aChildObjects[i] = aNode.getChild (nIndex); nChildIndices[i] = nIndex; } diff --git a/toolkit/test/accessibility/AccessibleTreeCellRenderer.java b/toolkit/test/accessibility/AccessibleTreeCellRenderer.java index 03b7d938e19d..169fe9691b2a 100644 --- a/toolkit/test/accessibility/AccessibleTreeCellRenderer.java +++ b/toolkit/test/accessibility/AccessibleTreeCellRenderer.java @@ -79,7 +79,7 @@ public class AccessibleTreeCellRenderer if (maChangedLines.size() <= nRow) maChangedLines.setSize (nRow+1); nRow -= 1; // row index is one to large for some reason. - maChangedLines.set (nRow, new Boolean (true)); + maChangedLines.set (nRow, true); } /** Inform the cell renderer of a set of changed line which to paint |