You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andras Salamon (Jira)" <ji...@apache.org> on 2019/10/09 10:08:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16947518#comment-16947518 ] 

Andras Salamon commented on SOLR-11091:
---------------------------------------

I think SOLR-10809 already solved this.

> 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