# File lib/smart_proxy_abrt/abrt_lib.rb, line 128
    def merge(other)
      raise HostReport::Error, "Host names do not match" unless @host == other.host

      other.reports.each do |ar|
        if !ar.hash.nil? && @by_hash.has_key?(ar.hash)
          # we already have this report, just increment the counter
          found_report = @by_hash[ar.hash]
          found_report.count += ar.count
          found_report.reported_at = [found_report.reported_at, ar.reported_at].min
        else
          # we either don't have this report or it has no hash
          @reports << ar
          @by_hash[ar.hash] = ar unless ar.hash.nil?
        end
      end
      @files += other.files
    end