code: static void closeAllStreams(Iterable<EditLogInputStream> streams) {
      for (EditLogInputStream s : streams) {
        IOUtils.closeStream(s);
      }
    }
docs: Close all the streams in a collection
  
  @param streams The list of streams to close