All Downloads are FREE. Search and download functionalities are using the official Maven repository.

doobie.util.compat.package.scala Maven / Gradle / Ivy

The newest version!
// Copyright (c) 2013-2020 Rob Norris and Contributors
// This software is licensed under the MIT License (MIT).
// For more information see LICENSE or https://opensource.org/licenses/MIT

package doobie.util

import java.{util => ju}
import scala.jdk.CollectionConverters._
import scala.collection.immutable.Map

package object compat {
  type =:=[From, To] = scala.=:=[From, To]

  def propertiesToScala(p: ju.Properties): Map[String, String] = p.asScala.toMap
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy