Permalink
Browse files

overridden method signature

  • Loading branch information...
1 parent 1ea9c3b commit 0f2700ec9c3e53b0008244d539a8dbfdcdcde6af @imikushin imikushin committed May 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/com/codahale/jerkson/ser/ScalaSerializers.scala
View
2 src/main/scala/com/codahale/jerkson/ser/ScalaSerializers.scala
@@ -5,7 +5,7 @@ import com.fasterxml.jackson.databind._
import com.fasterxml.jackson.databind.ser.Serializers
class ScalaSerializers extends Serializers.Base {
- def findSerializer(config: SerializationConfig, javaType: JavaType, beanDesc: BeanDescription, beanProp: BeanProperty) = {
+ override def findSerializer(config: SerializationConfig, javaType: JavaType, beanDesc: BeanDescription) = {
val ser: Object = if (classOf[Option[_]].isAssignableFrom(beanDesc.getBeanClass)) {
new OptionSerializer
} else if (classOf[StringBuilder].isAssignableFrom(beanDesc.getBeanClass)) {

0 comments on commit 0f2700e

Please sign in to comment.