diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2017-06-06 14:15:15 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2017-06-06 14:15:15 +0200 |
commit | c52f8eaca0d1ccc4c992cba039e35e099b5b478b (patch) | |
tree | f9e78e2f929627e7547bef39fdf6cbcd544cb8d8 /kamon-core/src/legacy-main/scala/kamon/util/JavaTags.scala | |
parent | 1f5d9876dedb715ae1c31203ea4f15ebf031612c (diff) | |
download | Kamon-c52f8eaca0d1ccc4c992cba039e35e099b5b478b.tar.gz Kamon-c52f8eaca0d1ccc4c992cba039e35e099b5b478b.tar.bz2 Kamon-c52f8eaca0d1ccc4c992cba039e35e099b5b478b.zip |
make it compile for Scala 2.11 and 2.12
Diffstat (limited to 'kamon-core/src/legacy-main/scala/kamon/util/JavaTags.scala')
-rw-r--r-- | kamon-core/src/legacy-main/scala/kamon/util/JavaTags.scala | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/kamon-core/src/legacy-main/scala/kamon/util/JavaTags.scala b/kamon-core/src/legacy-main/scala/kamon/util/JavaTags.scala deleted file mode 100644 index 90bece5c..00000000 --- a/kamon-core/src/legacy-main/scala/kamon/util/JavaTags.scala +++ /dev/null @@ -1,14 +0,0 @@ -package kamon.util - -object JavaTags { - - /** - * Helper method to transform Java maps into Scala maps. Typically this will be used as a static import from - * Java code that wants to use tags, as tags are defined as scala.collection.mutable.Map[String, String] and - * creating them directly from Java is quite verbose. - */ - def tagsFromMap(tags: java.util.Map[String, String]): Map[String, String] = { - import scala.collection.JavaConversions._ - tags.toMap - } -} |