if( rev == null || rev.size() == 0 ) {
return ch;
}
for( int i = 0; i < rev.size(); i++ ) {
Delta d = rev.getDelta( i );
if( d instanceof AddDelta ) {
d.getRevised().toString( change, "", "\r\n" );
ch.m_adds++;
} else if( d instanceof ChangeDelta ) {
d.getRevised().toString( change, "", "\r\n" );
ch.m_adds++;
} else if( d instanceof DeleteDelta ) {
ch.m_removals++;
}