From 679b0dcb8e715a2e7e3226b05755931453cf510d Mon Sep 17 00:00:00 2001 From: Ivan Topolnak Date: Thu, 6 Feb 2014 10:23:34 -0300 Subject: minor cleanup before relasing 0.0.13 --- .../src/main/scala/kamon/newrelic/package.scala | 28 ++++++++++------------ 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'kamon-newrelic/src/main/scala/kamon/newrelic/package.scala') diff --git a/kamon-newrelic/src/main/scala/kamon/newrelic/package.scala b/kamon-newrelic/src/main/scala/kamon/newrelic/package.scala index bf83b049..76b40748 100644 --- a/kamon-newrelic/src/main/scala/kamon/newrelic/package.scala +++ b/kamon-newrelic/src/main/scala/kamon/newrelic/package.scala @@ -1,18 +1,16 @@ -/* +/*========================================================================================= + * Copyright © 2013 the kamon project * - * * ========================================================================================= - * * Copyright © 2013 the kamon project - * * - * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file - * * except in compliance with the License. You may obtain a copy of the License at - * * - * * http://www.apache.org/licenses/LICENSE-2.0 - * * - * * Unless required by applicable law or agreed to in writing, software distributed under the - * * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, - * * either express or implied. See the License for the specific language governing permissions - * * and limitations under the License. - * * ========================================================================================= + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific language governing permissions + * and limitations under the License. + * ========================================================================================= * */ @@ -27,7 +25,7 @@ package object newrelic { var sumOfSquares: Double = 0D val measurementLevels = snapshot.measurementLevels.iterator - while(measurementLevels.hasNext) { + while (measurementLevels.hasNext) { val level = measurementLevels.next() // NewRelic metrics need to be scaled to seconds. -- cgit v1.2.3