This is already in Commons collections (released) and I think we should
switch to it ASAP. (This is triggered by modifications that would have
to be made in two places)
-Andy
On Mon, 2002-04-01 at 05:39, [EMAIL PROTECTED] wrote:
> glens 02/04/01 02:39:45
>
> Modified: src/java/org/apache/poi/util BinaryTree.java
> Log:
> Cleaned up a few minor things.
>
> Revision Changes Path
> 1.2 +2 -5 jakarta-poi/src/java/org/apache/poi/util/BinaryTree.java
>
> Index: BinaryTree.java
> ===================================================================
> RCS file: /home/cvs/jakarta-poi/src/java/org/apache/poi/util/BinaryTree.java,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- BinaryTree.java 31 Jan 2002 02:23:46 -0000 1.1
> +++ BinaryTree.java 1 Apr 2002 10:39:45 -0000 1.2
> @@ -55,8 +55,6 @@
>
> package org.apache.poi.util;
>
> -import java.lang.reflect.Array;
> -
> import java.util.*;
>
> /**
> @@ -127,9 +125,8 @@
> *
> * @author Marc Johnson (mjohnson at apache dot org)
> */
> +public final class BinaryTree // final for performance
>
> -// final for performance
> -public final class BinaryTree
> extends AbstractMap
> {
> private Node[] _root = new Node[]
> @@ -1059,7 +1056,7 @@
> * rebalances the tree (somewhat, as red-black trees are not
> * perfectly balanced -- perfect balancing takes longer)
> *
> - * @param deleted_node the node being replaced
> + * @param replacement_node the node being replaced
> * @param index _KEY or _VALUE
> */
>
>
>
>
--
http://www.superlinksoftware.com
http://jakarta.apache.org/poi - port of Excel/Word/OLE 2 Compound
Document
format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html
- fix java generics!
The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh