override def apply()

in ratatool-diffy/src/main/scala/com/spotify/ratatool/diffy/AvroDiffy.scala [44:50]


  override def apply(x: T, y: T): Seq[Delta] = (x, y) match {
    case (null, null)                    => Seq.empty
    case (_, null)                       => Seq(Delta("", Some(x), None, UnknownDelta))
    case (null, _)                       => Seq(Delta("", None, Some(y), UnknownDelta))
    case _ if x.getSchema != y.getSchema => Seq(Delta("", Some(x), Some(y), UnknownDelta))
    case _                               => diff(x, y, x.getSchema, "")
  }