public boolean computeDiff ( List < JsonDelta > delta , List < String > context , JsonNode node1 , JsonNode node2 ) { boolean ret = false ; if ( context . size ( ) == 0 || filter . includeField ( context ) ) { JsonComparator cmp = getComparator ( context , node1 , node2 ) ; if ( cmp != null ) { ret = cmp . compare ( delta , context , node1 , node2 ) ; } else { delta . add ( new JsonDelta ( toString ( context ) , node1 , node2 ) ) ; ret = true ; } } return ret ; }
Returns true if there is a difference