boolean merge(Line next){
  if (_srcFilename != null && !_srcFilename.equals(next._srcFilename))   return false;
 else   if (_dstIncrement != next._dstIncrement)   return false;
 else   if (getLastDestinationLine() + 1 != next._dstLine)   return false;
 else   if (getLastSourceLine() + 1 != next._srcLine)   return false;
 else {
    _repeat+=next._repeat;
    return true;
  }
}

boolean merge ( Line next ) { if ( _srcFilename != null && ! _srcFilename . equals ( next . _srcFilename ) ) return false ; else if ( _dstIncrement != next . _dstIncrement ) return false ; else if ( getLastDestinationLine ( ) + 1 != next . _dstLine ) return false ; else if ( getLastSourceLine ( ) + 1 != next . _srcLine ) return false ; else { _repeat += next . _repeat ; return true ; } }
tries to merge two lines
