You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jianwei Zhang (JIRA)" <ji...@apache.org> on 2014/05/04 08:09:14 UTC
[jira] [Created] (CASSANDRA-7149) SimpleCondition await bug
Jianwei Zhang created CASSANDRA-7149:
----------------------------------------
Summary: SimpleCondition await bug
Key: CASSANDRA-7149
URL: https://issues.apache.org/jira/browse/CASSANDRA-7149
Project: Cassandra
Issue Type: Bug
Reporter: Jianwei Zhang
Priority: Minor
SimpleCondition await
There is a bug when converting other time unit to missisecond .
now:
long end = System.currentTimeMillis() + unit.convert(time, TimeUnit.MILLISECONDS);
should be:
long end = System.currentTimeMillis() + TimeUnit.MILLISECONDS.convert(time, unit);
--
This message was sent by Atlassian JIRA
(v6.2#6252)