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/07/07 10:33:54 UTC
[uima-uimaj] 01/01: Issue #319: SelectFSs_impl.close() creates stream just to close it
This is an automated email from the ASF dual-hosted git repository.
rec pushed a commit to branch bugfix/319-SelectFSs_impl-close-creates-stream-just-to-close-it
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
commit ddf5c533efc1d536143b0016e5baa7d8bf30834b
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Fri Jul 7 12:33:48 2023 +0200
Issue #319: SelectFSs_impl.close() creates stream just to close it
- Turn close() into a NOP
---
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 77af8026c..77ff9bb07 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
@@ -1738,7 +1738,7 @@ public class SelectFSs_impl<T extends FeatureStructure> implements SelectFSs<T>
@Override
public void close() {
- stream().close();
+ // SelectFSs_impl holds no resources that would need to be cleaned up
}
@Override