Skip to content

Commit

Permalink
Tidying up
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kudinkin committed Aug 12, 2022
1 parent b17cdf6 commit c349166
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import scala.collection.JavaConverters
object HoodieConversionUtils {

/**
* TODO scala-doc
* Converts Java's [[ju.Map]] into Scala's (immutable) [[Map]] (by defautl [[JavaConverters]] convert to
* a mutable one)
*/
def mapAsScalaImmutableMap[K, V](map: ju.Map[K, V]): Map[K, V] =
JavaConverters.mapAsScalaMap(map).toMap
Expand Down

0 comments on commit c349166

Please sign in to comment.