public void analyze ( ) { for ( String key : importSource . getKeys ( ) ) { Change change = createChange ( key ) ; setConflictAttributes ( change ) ; if ( change . getType ( ) != Change . TYPE_NO_CHANGE ) { if ( change . isConflicting ( ) ) { conflictingChanges . add ( change ) ; } else { nonConflictingChanges . add ( change ) ; } } } }
Determines the changes between the import source and the database and classifies them as conflicting and non - conflicting .