This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
profiler/modules/main/src/org/netbeans/modules/profiler/ppoints/Bundle.properties StopwatchProfilingPointFactory_PpDescr=Reports hit time or measures execution time of a method fragment. You may use this Profiling Point instead of calling System.currentTimeMillis() or for measuring single method run time. "or" is not needed here.
Stopwatch PP is used for taking single timestamp OR for measuring duration (delta between two timestamps). I can't see the typo here, could you please point to it and eventually suggest a better wording? Thanks.
Well, from the translation point, translators thought the sentence should be like: "You may use this Profiling Point instead of calling System.currentTimeMillis() for measuring single method run time.", since "instead of calling..." and "for measuring..." seems not suitable at the two sides of "or". As you said, "Stopwatch PP is used FOR taking single timestamp OR FOR measuring duration"; in the way, we can understand and know how to translate. "Or" here connects two "For" phrases. That's why we thought "or" here is extra, not needed. :)
Suggested rewording: StopwatchProfilingPointFactory_PpDescr= You may use this profiling point to obtain a timestamp instead of calling System.currentTimeMillis(). Using profiling points you can measure the time between timestamps to obtain the execution time of a method fragment.
Fixed for 6.5. changeset: 98141:643392ce8814 date: Thu Aug 28 11:41:17 2008 +0200 summary: Bugfix #123935 Improved Stopwatch PP hint wording
Integrated into 'main-golden', available in build *200809011401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/643392ce8814 User: Jiri Sedlacek <jis@netbeans.org> Log: Bugfix #123935 Improved Stopwatch PP hint wording
Verified.