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 20:17:45 UTC

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

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.


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved SOLR-1159.
-------------------------------

    Resolution: Fixed

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


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
    [ 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.