some logging...

This commit is contained in:
Anton Makeev
2010-04-12 01:47:54 +04:00
parent d005977a7b
commit f3b4eaf4e3
@@ -392,7 +392,7 @@ public class InfoAndProgressPanel extends JPanel implements StatusBarPatch {
long time = System.currentTimeMillis() - ApplicationManagerEx.getApplicationEx().getStartTime();
long percentage = wastedTime * 100 / time;
String period = new SimpleDateFormat("mm 'min' HH 'hours'").format(new Date(2000, 0, 1, 0, 0, 0).getTime() + time);
String period = new SimpleDateFormat("m 'min' H 'hours'").format(new Date(2000, 0, 1, 0, 0, 0).getTime() + time);
List<Pair<String, Long>> list = ProgressManagerImpl.getTimeWasters();
StringBuilder s = new StringBuilder("<html>Successfully wasted " + percentage +"% of your time in " + period + ":<br><border>");