Better return type.
This commit is contained in:
parent
a6a1b220d8
commit
30ae4d8157
@ -45,7 +45,7 @@ object PropertyBuilder extends PropertyBuilderLP {
|
|||||||
def makeNew(default: String) = StringProperty(default)
|
def makeNew(default: String) = StringProperty(default)
|
||||||
}
|
}
|
||||||
|
|
||||||
def apply[A](default: A)(implicit builder: PropertyBuilder[A]): SimpleProperty[A] = {
|
def apply[A](default: A)(implicit builder: PropertyBuilder[A]): builder.Prop = {
|
||||||
builder.makeNew(default)
|
builder.makeNew(default)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user