Skip to content
Browse files

don't extend from function

  • Loading branch information...
1 parent c44f75f commit 455664c736e3044232b6f474afd97a457175299b @casualjim casualjim committed Dec 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/src/main/scala/org/scalatra/util/conversion/package.scala
View
3 core/src/main/scala/org/scalatra/util/conversion/package.scala
@@ -3,6 +3,7 @@ package util
package object conversion {
- trait TypeConverter[S, T] extends ((S) => Option[T])
+ trait TypeConverter[S, T] { def apply(s: S): Option[T] }
+
}

0 comments on commit 455664c

Please sign in to comment.
Something went wrong with that request. Please try again.