mirror of https://github.com/sbt/sbt.git
Silent warning
"imported `Properties' is permanently hidden by definition of object Properties in package util"
This commit is contained in:
parent
b05e942fa4
commit
2ca57527eb
|
|
@ -1,11 +1,11 @@
|
||||||
package coursier.util
|
package coursier.util
|
||||||
|
|
||||||
import java.util.Properties
|
import java.util.{ Properties => JProperties }
|
||||||
|
|
||||||
object Properties {
|
object Properties {
|
||||||
|
|
||||||
private lazy val props = {
|
private lazy val props = {
|
||||||
val p = new Properties()
|
val p = new JProperties()
|
||||||
p.load(
|
p.load(
|
||||||
getClass
|
getClass
|
||||||
.getClassLoader
|
.getClassLoader
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue