Minor cleanup.

This commit is contained in:
Sarah Gerweck 2015-04-15 21:05:22 -07:00
parent c74c748a44
commit a9f4085786
2 changed files with 1 additions and 6 deletions

View File

@ -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")

View File

@ -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)
}