diff --git a/src/main/scala/ai/diffy/analysis/InMemoryDifferenceCollector.scala b/src/main/scala/ai/diffy/analysis/InMemoryDifferenceCollector.scala index bce5ca8..96aa2fc 100644 --- a/src/main/scala/ai/diffy/analysis/InMemoryDifferenceCollector.scala +++ b/src/main/scala/ai/diffy/analysis/InMemoryDifferenceCollector.scala @@ -69,7 +69,7 @@ class InMemoryEndpointMetadata(receiver: MetricsReceiver) extends EndpointMetada def add(diffs: Map[String, Difference]): Unit = { Try(totalCounter.increment()) totalAtomic.incrementAndGet() - if (diffs.filterNot{case (_, diff) => diff.isInstanceOf[NoDifference]}.nonEmpty) { + if (diffs.filterNot{case (_, diff) => diff.isInstanceOf[NoDifference[_]]}.nonEmpty) { differenceCounter.increment() differenceAtomic.incrementAndGet() }