We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d591864 commit 3e76f86Copy full SHA for 3e76f86
src/main/scala/gitbucket/monitoring/services/EnvironmentVariable.scala
@@ -1,10 +1,10 @@
1
package gitbucket.monitoring.services
2
3
-import scala.collection.JavaConversions._
+import scala.collection.JavaConverters._
4
import gitbucket.monitoring.utils.Message
5
6
object EnvironmentVariable {
7
def valiables: Map[String, String] = {
8
- System.getenv().toMap
+ System.getenv().asScala.toMap
9
}
10
0 commit comments