Revision a523e596
Added by Katja Luther almost 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/util/ProgressMonitorClientManager.java | ||
---|---|---|
153 | 153 |
} |
154 | 154 |
serverTotalWorkDone = (int) remotingMonitor.getWorkDone(); |
155 | 155 |
logger.info("Work done from start: " + serverTotalWorkDone); |
156 |
String percentage = new DecimalFormat("#.##").format(remotingMonitor.getPercentage()); |
|
156 |
String percentage = "100"; |
|
157 |
if (remotingMonitor.getTotalWork() != 0){ |
|
158 |
percentage = new DecimalFormat("#.##").format(remotingMonitor.getPercentage()); |
|
159 |
} |
|
160 |
|
|
157 | 161 |
|
158 | 162 |
// set dialog text |
159 | 163 |
monitor.setTaskName(label + " " + percentage + "% done "); |
Also available in: Unified diff
fix progressmonitor handling