void analyseRevision ( R revision , List < E > previous ) { if ( currentRevision == null ) { return ; } if ( previous == null || previous . isEmpty ( ) ) { resolveRemainingToCurrent ( ) ; } else { resolveToCurrent ( DiffUtils . diff ( currentRevisionContent , previous ) . getDeltas ( ) ) ; assert currentRevisionContent . equals ( previous ) : "Patch application failed" ; } currentRevision = revision ; }
Resolve revision of line to current revision based on given previous content and prepare for next analysis .