Commit 5ad9518d authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Avoid unnecessary cast.

parent bc0f0a64
......@@ -83,7 +83,7 @@ public class ClientsStatusUpdater implements DescriptorListener,
* include in a clients document. */
return;
}
double okResponses = (double) (responses.get("ok") - 4);
double okResponses = responses.get("ok") - 4;
if (okResponses < 0.0) {
/* Response numbers are not supposed to be negative. Skipping. */
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment