Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

overridden method signature

  • Loading branch information...
commit 0f2700ec9c3e53b0008244d539a8dbfdcdcde6af 1 parent 1ea9c3b
@imikushin imikushin authored
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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.