Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 66219

Summary: [Contributions] ActionContributionItem always gets the currentTimeMillis
Product: [Eclipse Project] Platform Reporter: Michael Fraenkel <fraenkel>
Component: UIAssignee: Paul Webster <pwebster>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P5 Keywords: helpwanted
Version: 3.0   
Target Milestone: 3.3.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Fraenkel CLA 2004-06-08 16:42:24 EDT
Using 0607

In ActionContributionItem.handleWidgetSelection() there is an exposed 
System.currentTimeMillis() which should be enclosed in the if (trace).
Comment 1 Paul Webster CLA 2007-04-05 19:03:10 EDT
Assigning to component owner
PW
Comment 2 Michael Fraenkel CLA 2007-06-20 19:10:59 EDT
Before : line 540
				long ms = System.currentTimeMillis();
				if (trace) {
					System.out.println("Running action: " + action.getText()); //$NON-NLS-1$
				}

After : line 540


				long ms = 0;
				if (trace) {
				        ms = System.currentTimeMillis();
					System.out.println("Running action: " + action.getText()); //$NON-NLS-1$
				}
Comment 3 Paul Webster CLA 2007-08-14 11:12:35 EDT
Released in HEAD and 3.3.1 >20070814
PW
Comment 4 Paul Webster CLA 2007-09-06 10:20:45 EDT
In M20070905-1045
PW