code: public String getHashForLine(int line) {
      if (line > 0 && line <= hashes.size()) {
        return Strings.nullToEmpty(hashes.get(line - 1));
      }
      return "";
    }
docs: Hash of the given line, which starts with 1. Return empty string
  is the line does not exist.