This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Removed usage of deprecated bits.

  • Loading branch information...
codahale committed Oct 5, 2011
1 parent 639c323 commit 7ab37b9047a07d85f0fadf13939145f124e93fb4
@@ -13,7 +13,7 @@ private[jerkson] object Types {
private def constructType(factory: TypeFactory, manifest: Manifest[_]): JavaType = {
if (manifest.erasure.isArray) {
- ArrayType.construct(factory.constructType(manifest.erasure.getComponentType))
+ ArrayType.construct(factory.constructType(manifest.erasure.getComponentType), null, null)
} else {
factory.constructParametricType(
manifest.erasure,
@@ -6,7 +6,7 @@ import scala.collection.{Traversable, MapLike, immutable, mutable}
import com.codahale.jerkson.AST.{JNull, JValue}
import scala.collection.generic.{MapFactory, GenericCompanion}
-class ScalaDeserializers(classLoader: ClassLoader) extends Deserializers.None {
+class ScalaDeserializers(classLoader: ClassLoader) extends Deserializers.Base {
override def findBeanDeserializer(javaType: JavaType, config: DeserializationConfig,
provider: DeserializerProvider, beanDesc: BeanDescription,
property: BeanProperty) = {
@@ -4,7 +4,7 @@ import org.codehaus.jackson.`type`.JavaType
import com.codahale.jerkson.AST.JValue
import org.codehaus.jackson.map._
-class ScalaSerializers extends Serializers.None {
+class ScalaSerializers extends Serializers.Base {
override def findSerializer(config: SerializationConfig, javaType: JavaType, beanDesc: BeanDescription, beanProp: BeanProperty) = {
val ser: Object = if (classOf[Option[_]].isAssignableFrom(beanDesc.getBeanClass)) {
new OptionSerializer

0 comments on commit 7ab37b9

Please sign in to comment.