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:23:15 UTC
[jira] [Created] (CASSANDRA-5557) Correctly handle interruptions of
Thread.sleep()
Mikhail Mazursky created CASSANDRA-5557:
-------------------------------------------
Summary: 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
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