Skip to content

Commit

Permalink
broken build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Lagutko committed Aug 3, 2011
1 parent f339805 commit 186e709
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/blueeyes/json/xschema/Serialization.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import blueeyes.json.JsonAST._

/** Extracts the value from a JSON object.
*/
trait Extractor[+A] extends Function[JValue, A] { self =>
trait Extractor[A] extends Function[JValue, A] { self =>
def extract(jvalue: JValue): A

def map[B](f: A => B): Extractor[B] = new Extractor[B] {
Expand All @@ -16,7 +16,7 @@ trait Extractor[+A] extends Function[JValue, A] { self =>

/** Decomposes the value into a JSON object.
*/
trait Decomposer[-A] extends Function[A, JValue] { self =>
trait Decomposer[A] extends Function[A, JValue] { self =>
def decompose(tvalue: A): JValue

def contramap[B](f: B => A): Decomposer[B] = new Decomposer[B] {
Expand Down

0 comments on commit 186e709

Please sign in to comment.