forked from I2P_Developers/i2p.i2p
dont use == on doubles
This commit is contained in:
@ -1542,7 +1542,7 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
float pct;
|
||||
if (isValid) {
|
||||
pct = (float) (100.0 * peer.completed() / meta.getPieces());
|
||||
if (pct == 100.0)
|
||||
if (pct >= 100.0)
|
||||
out.write(_("Seed"));
|
||||
else {
|
||||
String ps = String.valueOf(pct);
|
||||
|
Reference in New Issue
Block a user