You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cao Manh Dat (JIRA)" <ji...@apache.org> on 2015/07/22 10:50:04 UTC
[jira] [Closed] (LUCENE-6686) Improve InforStream API
[ https://issues.apache.org/jira/browse/LUCENE-6686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cao Manh Dat closed LUCENE-6686.
--------------------------------
Resolution: Not A Problem
> Improve InforStream API
> -----------------------
>
> Key: LUCENE-6686
> URL: https://issues.apache.org/jira/browse/LUCENE-6686
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Cao Manh Dat
>
> Currently, We use InfoStream in duplicated ways. For example
> {code}
> if (infoStream.isEnabled("IW")) {
> infoStream.message("IW", "init: loaded commit \"" + commit.getSegmentsFileName() + "\"");
> }
> {code}
> Can we change the API of InfoStream to
> {code}
> infoStream.messageIfEnabled("component","message");
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org