204205206207208209210211212213214
if (progress == null || progress.isSucceeded()) { percentageStr = "0"; } else { double percentage = progress.percentage() * 100.0; if (percentage < 5) { percentageStr = "0"; } else { percentageStr = NumberFormat.getIntegerInstance().format(percentage) + "%";