From 30ae4d81578512a5bdab7002b4cd786b82cc2f5f Mon Sep 17 00:00:00 2001 From: Sarah Gerweck Date: Wed, 15 Apr 2015 23:56:43 -0700 Subject: [PATCH] Better return type. --- src/main/scala/org/gerweck/scalafx/util/PropertyBuilder.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/org/gerweck/scalafx/util/PropertyBuilder.scala b/src/main/scala/org/gerweck/scalafx/util/PropertyBuilder.scala index 41ed96a..dbacf61 100644 --- a/src/main/scala/org/gerweck/scalafx/util/PropertyBuilder.scala +++ b/src/main/scala/org/gerweck/scalafx/util/PropertyBuilder.scala @@ -45,7 +45,7 @@ object PropertyBuilder extends PropertyBuilderLP { 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) } }