Permalink
Browse files

Scalariform

  • Loading branch information...
rktoomey committed Feb 15, 2013
1 parent 3a341d7 commit cf2a317904bf0900f26219f144dc70122d98859b
@@ -65,21 +65,21 @@ sealed abstract class Field(val idx: Int,
def in_!(value: Any) = {
val xformed = in.transform_!(value)
-// log.debug(
-// """
-// |IN:
-// | name: %s
-// | typeRefType:
-// |%s
-// | in:
-// |%s
-// | value: %s
-// | transformed: %s
-// |
-// """.stripMargin, name, typeRefType, in match {
-// case c: UseCustomTransformer[_, _] => c.toString
-// case _ => in.getClass.getInterfaces.mkString("\n")
-// }, value, xformed)
+ // log.debug(
+ // """
+ // |IN:
+ // | name: %s
+ // | typeRefType:
+ // |%s
+ // | in:
+ // |%s
+ // | value: %s
+ // | transformed: %s
+ // |
+ // """.stripMargin, name, typeRefType, in match {
+ // case c: UseCustomTransformer[_, _] => c.toString
+ // case _ => in.getClass.getInterfaces.mkString("\n")
+ // }, value, xformed)
xformed
}
@@ -4,7 +4,7 @@ abstract class CustomTransformer[ModelObject <: AnyRef: Manifest, SerializedRepr
final def in(value: Any): Any = value match {
case o: SerializedRepr => deserialize(o)
- case _ => None
+ case _ => None
}
final def out(value: Any): Option[SerializedRepr] = value match {

0 comments on commit cf2a317

Please sign in to comment.