[logback-dev] svn commit: r1698 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/stopwatch
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Wed May 14 19:05:58 CEST 2008
Author: ceki
Date: Wed May 14 19:05:57 2008
New Revision: 1698
Modified:
logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/stopwatch/Profiler.java
Log:
- the fact that the Profiler.start method returns void is one of the core
features of the Profiler API
Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/stopwatch/Profiler.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/stopwatch/Profiler.java (original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/stopwatch/Profiler.java Wed May 14 19:05:57 2008
@@ -70,12 +70,11 @@
profilerRegistry.put(this);
}
- public StopWatch start(String name) {
+ public void start(String name) {
stopLastStopWatch();
StopWatch childSW = new StopWatch(name);
stopwatchList.add(childSW);
childList.add(childSW);
- return childSW;
}
public Profiler startNested(String name) {
More information about the logback-dev
mailing list