From c35f75a640018b5609d798e2c5c4cd7e7f26a5b6 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Thu, 11 Jun 2026 13:11:00 +0200 Subject: [PATCH] Remove dead code resulting from cherry-pick of 6f82e28. Cherry-pick of https://github.com/ruby/net-imap/commit/6f82e28f714ecced2396144bce0155e2cdb0256e seems to have added instead of replaced the `done?` method in the commit bfdae21. --- lib/net/imap/response_reader.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/net/imap/response_reader.rb b/lib/net/imap/response_reader.rb index 5ba83725..56958eba 100644 --- a/lib/net/imap/response_reader.rb +++ b/lib/net/imap/response_reader.rb @@ -31,7 +31,6 @@ def read_response_buffer def bytes_read; buff.bytesize end def empty?; buff.empty? end - def done?; line_done? && !get_literal_size end def done?; line_done? && !literal_size end def line_done?; buff.end_with?(CRLF) end