mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
some logging...
This commit is contained in:
+1
-1
@@ -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>");
|
||||
|
||||
Reference in New Issue
Block a user