@ SuppressWarnings ( "unchecked" ) public int diffSchema ( DiffSet diffSet , DifferenceReporter reporter ) { CountingReporter countingReporter = new CountingReporter ( reporter ) ; diffSchemaImpl ( diffSet , countingReporter ) ; return countingReporter . breakingCount ; }
This will perform a difference on the two schemas . The reporter callback interface will be called when differences are encountered .