Minor cleanup.
This commit is contained in:
parent
c74c748a44
commit
a9f4085786
@ -15,7 +15,7 @@ import org.log4s._
|
||||
*
|
||||
* @author Sarah Gerweck <sarah@atscale.com>
|
||||
*/
|
||||
class ParsedTextField[A,B <: Parseable[A]](default: A)(implicit val parser: B) {
|
||||
class ParsedTextField[A, B <: Parseable[A]](default: A)(implicit val parser: B) {
|
||||
|
||||
private val logger = getLogger("org.gerweck.scalafx.util.ParsedTextField")
|
||||
|
||||
|
@ -55,9 +55,4 @@ object PropertyBuilder extends PropertyBuilderLP {
|
||||
def apply[A](default: A)(implicit builder: PropertyBuilder[A]): Property[A, _] = {
|
||||
builder.makeNew(default)
|
||||
}
|
||||
|
||||
val a = this(1)
|
||||
val b = this("hello")
|
||||
val c = this(Set(1, 2))
|
||||
val d = this(false)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user