You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/05/12 21:16:45 UTC

[jira] Updated: (SOLR-1159) JmxMonitoredMap uses & when && is needed

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

Mark Miller updated SOLR-1159:
------------------------------

    Priority: Trivial  (was: Minor)

> JmxMonitoredMap uses & when && is needed
> ----------------------------------------
>
>                 Key: SOLR-1159
>                 URL: https://issues.apache.org/jira/browse/SOLR-1159
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Trivial
>             Fix For: 1.4
>
>
>       if (staticStats.contains(attribute) && attribute != null
>               & attribute.length() > 0) {
> Uses boolean &, but boolean & does not short circuit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.