You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Christine Poerschke (Jira)" <ji...@apache.org> on 2019/12/06 16:29:00 UTC

[jira] [Resolved] (SOLR-11091) fix-or-suppress 18 'Resource leak' warnings in StreamExpressionToExpessionTest.java

     [ https://issues.apache.org/jira/browse/SOLR-11091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christine Poerschke resolved SOLR-11091.
----------------------------------------
    Resolution: Duplicate

bq. I think SOLR-10809 already solved this.

Indeed. Thanks [~asalamon74] for noticing and mentioning that!

> fix-or-suppress 18 'Resource leak' warnings in StreamExpressionToExpessionTest.java
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-11091
>                 URL: https://issues.apache.org/jira/browse/SOLR-11091
>             Project: Solr
>          Issue Type: Sub-task
>          Components: clients - java
>            Reporter: Christine Poerschke
>            Priority: Trivial
>
> {code}
>  [ecj-lint] 2. WARNING in /Users/cpoerschke/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/StreamExpressionToExpessionTest.java (at line 77)
>  [ecj-lint]     stream = new CloudSolrStream(StreamExpressionParser.parse("search(collection1, q=*:*, fl=\"id,a_s,a_i,a_f\", sort=\"a_f asc, a_i asc\", fq=\"a_s:one\", fq=\"a_s:two\")"), factory);
>  [ecj-lint]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  [ecj-lint] Resource leak: 'stream' is never closed
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org