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 2023/01/23 16:23:00 UTC

[uima-uimaj] branch bugfix/272-select-on-FSArray-seems-broken created (now ff19c4f3e)

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

rec pushed a change to branch bugfix/272-select-on-FSArray-seems-broken
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git


      at ff19c4f3e Issue #272: select on FSArray seems broken

This branch includes the following new commits:

     new ff19c4f3e Issue #272: select on FSArray seems broken

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: Issue #272: select on FSArray seems broken

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

rec pushed a commit to branch bugfix/272-select-on-FSArray-seems-broken
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git

commit ff19c4f3ef71534bcb328f279dbb795e437a782c
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Mon Jan 23 17:22:53 2023 +0100

    Issue #272: select on FSArray seems broken
    
    - Fix stream characteristics when using select on array or list
---
 uimaj-core/src/main/java/org/apache/uima/cas/impl/SelectFSs_impl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uimaj-core/src/main/java/org/apache/uima/cas/impl/SelectFSs_impl.java b/uimaj-core/src/main/java/org/apache/uima/cas/impl/SelectFSs_impl.java
index 6c28ee621..77af8026c 100644
--- a/uimaj-core/src/main/java/org/apache/uima/cas/impl/SelectFSs_impl.java
+++ b/uimaj-core/src/main/java/org/apache/uima/cas/impl/SelectFSs_impl.java
@@ -1062,7 +1062,7 @@ public class SelectFSs_impl<T extends FeatureStructure> implements SelectFSs<T>
         // always set
         int c = Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.DISTINCT;
 
-        if (boundsUse == BoundsUse.notBounded && !isNonOverlapping) {
+        if (!isAltSource && boundsUse == BoundsUse.notBounded && !isNonOverlapping) {
           c |= Spliterator.SIZED | Spliterator.SUBSIZED;
         }