You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2013/05/11 11:27:15 UTC
[jira] [Issue Comment Deleted] (CASSANDRA-5557) Correctly handle
interruptions of Thread.sleep()
[ https://issues.apache.org/jira/browse/CASSANDRA-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Mazursky updated CASSANDRA-5557:
----------------------------------------
Comment: was deleted
(was: Attaching proposed patch.)
> Correctly handle interruptions of Thread.sleep()
> ------------------------------------------------
>
> Key: CASSANDRA-5557
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5557
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Mikhail Mazursky
> Priority: Minor
> Attachments: trunk-5557.txt
>
>
> There is no need to throw assertion errors or runtime exceptions when Thread.sleep() is interrupted - code can just ignore interruption (and that is correct behaviour). Also this eliminates boilerplate code. See attached patch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira