You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2022/02/10 11:11:54 UTC

[uima-uimaj] branch refactoring/UIMA-6415-Deprecate-unused-IntArrayRBT-and-CompIntArrayRBT created (now 70c515e)

This is an automated email from the ASF dual-hosted git repository.

rec pushed a change to branch refactoring/UIMA-6415-Deprecate-unused-IntArrayRBT-and-CompIntArrayRBT
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git.


      at 70c515e  [UIMA-6415] Deprecate unused IntArrayRBT and CompIntArrayRBT

This branch includes the following new commits:

     new 70c515e  [UIMA-6415] Deprecate unused IntArrayRBT and CompIntArrayRBT

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[uima-uimaj] 01/01: [UIMA-6415] Deprecate unused IntArrayRBT and CompIntArrayRBT

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch refactoring/UIMA-6415-Deprecate-unused-IntArrayRBT-and-CompIntArrayRBT
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git

commit 70c515e68acce725d77bd184d4b6ed80e0b847ba
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Thu Feb 10 12:11:49 2022 +0100

    [UIMA-6415] Deprecate unused IntArrayRBT and CompIntArrayRBT
    
    - Added deprecation markers
---
 .../java/org/apache/uima/internal/util/rb_trees/CompIntArrayRBT.java  | 3 ++-
 .../main/java/org/apache/uima/internal/util/rb_trees/IntArrayRBT.java | 3 ++-
 .../java/org/apache/uima/internal/util/rb_trees/IntArrayRBTTest.java  | 4 ++++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/CompIntArrayRBT.java b/uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/CompIntArrayRBT.java
index 7349bc8..6d48597 100644
--- a/uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/CompIntArrayRBT.java
+++ b/uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/CompIntArrayRBT.java
@@ -24,8 +24,9 @@ import org.apache.uima.internal.util.IntComparator;
 /**
  * Used for UIMA Set indexes
  * 
- * 
+ * @deprecated Not used anymore. Will be removed in UIMA 4.
  */
+@Deprecated
 public class CompIntArrayRBT extends IntArrayRBT {
 
   private IntComparator comp;
diff --git a/uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/IntArrayRBT.java b/uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/IntArrayRBT.java
index f4cd828..8bed37e 100644
--- a/uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/IntArrayRBT.java
+++ b/uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/IntArrayRBT.java
@@ -38,8 +38,9 @@ import org.apache.uima.internal.util.IntListIterator;
  * rejected, or inserted as duplicates. Duplicate key insertion is randomized so that the tree's
  * performance degrades gracefully in the presence of many identical keys.
  * 
- * 
+ * @deprecated Not used anymore. Will be removed in UIMA 4.
  */
+@Deprecated
 public class IntArrayRBT extends IntArrayRBTcommon {
 
   // /**
diff --git a/uimaj-core/src/test/java/org/apache/uima/internal/util/rb_trees/IntArrayRBTTest.java b/uimaj-core/src/test/java/org/apache/uima/internal/util/rb_trees/IntArrayRBTTest.java
index 87c4419..8125a26 100644
--- a/uimaj-core/src/test/java/org/apache/uima/internal/util/rb_trees/IntArrayRBTTest.java
+++ b/uimaj-core/src/test/java/org/apache/uima/internal/util/rb_trees/IntArrayRBTTest.java
@@ -30,6 +30,10 @@ import java.util.Set;
 import org.apache.uima.internal.util.IntListIterator;
 import org.junit.jupiter.api.Test;
 
+/**
+ * @deprecated Not used anymore. Will be removed in UIMA 4.
+ */
+@Deprecated
 public class IntArrayRBTTest {
   private final static int NIL = 0;
   static final Random rand = new Random();