lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1159) JmxMonitoredMap uses & when && is needed
Date Tue, 12 May 2009 19:16:45 GMT

     [ 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.


Mime
View raw message