[
https://issues.apache.org/jira/browse/SOLR-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708574#action_12708574
]
Shalin Shekhar Mangar commented on SOLR-1159:
---------------------------------------------
Ah, my bad. Thanks for spotting this.
> 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: Minor
> 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.