Christine Poerschke created SOLR-11091:
------------------------------------------
Summary: 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
Security Level: Public (Default Security Level. Issues are Public)
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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]