river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Created: (RIVER-309) [patch] fix impossible conditional in CommitJob
Date Mon, 18 May 2009 02:43:45 GMT
[patch] fix impossible conditional in CommitJob

                 Key: RIVER-309
                 URL: https://issues.apache.org/jira/browse/RIVER-309
             Project: River
          Issue Type: Improvement
          Components: com_sun_jini_mahalo
         Environment: NA
            Reporter: Dave Brosius
            Priority: Trivial
         Attachments: impossiblecond.diff

'give up and quit' exit condition is

            if (attempt(who) > maxtries) {
                 return new Integer(COMMITTED);

where maxtries is Integer.MAX_VALUE.

As this test will never be true, made it >= 

-- agreed highly unlikely ;)

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

View raw message