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

akka.util.package.scala Maven / Gradle / Ivy

There is a newer version: 2.2.6.3
Show newest version
package akka

import com.typesafe.config.{ConfigFactory, Config}

package object util {

  implicit class toLowerWithLocale(s: java.lang.String) {
    def toLowerCase(l: java.util.Locale) = s.toLowerCase()
  }

  implicit class ConfigExtension(c: Config) {
    def withoutPath(str: String): Config = {
      ConfigFactory.parseString(s"""{ $str = null }""").withFallback(c)
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy