diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-10-14 13:37:28 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-10-14 13:37:28 +0200 |
commit | 0b2bd1138a508e28b8951df46ccf1bc476d90848 (patch) | |
tree | 8bdb8647d1765a1a89f9cd91bdb82371f6a12b88 /kamon-core/src/main/scala/kamon/trace | |
parent | dfe4b750e6907902c3bbcb357fb4051c1f777f2e (diff) | |
download | Kamon-0b2bd1138a508e28b8951df46ccf1bc476d90848.tar.gz Kamon-0b2bd1138a508e28b8951df46ccf1bc476d90848.tar.bz2 Kamon-0b2bd1138a508e28b8951df46ccf1bc476d90848.zip |
= core: remove a println left from testing
Diffstat (limited to 'kamon-core/src/main/scala/kamon/trace')
-rw-r--r-- | kamon-core/src/main/scala/kamon/trace/TraceContext.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/trace/TraceContext.scala b/kamon-core/src/main/scala/kamon/trace/TraceContext.scala index a15a4326..64ee70be 100644 --- a/kamon-core/src/main/scala/kamon/trace/TraceContext.scala +++ b/kamon-core/src/main/scala/kamon/trace/TraceContext.scala @@ -140,9 +140,8 @@ class SimpleMetricCollectionContext(traceName: String, val token: String, metada @tailrec private def drainFinishedSegments(metricRecorder: TraceMetricRecorder): Unit = { val segment = finishedSegments.poll() - if(segment != null) { + if (segment != null) { metricRecorder.segmentRecorder(segment.identity).record(segment.duration) - println("CLOSED") drainFinishedSegments(metricRecorder) } } |