Kouhei Sutou
null+****@clear*****
Thu Nov 9 16:07:05 JST 2017
Kouhei Sutou 2017-11-09 16:07:05 +0900 (Thu, 09 Nov 2017) New Revision: cad209435ee87d6c06ec372755bf2e12d05000b8 https://github.com/groonga/groonga-log/commit/cad209435ee87d6c06ec372755bf2e12d05000b8 Message: Remove needless "then" We never use "then" for "if". Modified files: lib/groonga-log/parser.rb Modified: lib/groonga-log/parser.rb (+1 -1) =================================================================== --- lib/groonga-log/parser.rb 2017-11-09 16:06:13 +0900 (02af149) +++ lib/groonga-log/parser.rb 2017-11-09 16:07:05 +0900 (4e49106) @@ -30,7 +30,7 @@ module GroongaLog return to_enum(:parse, input) unless block_given? input.each_line do |line| - if line.respond_to?(:valid_encoding?) then + if line.respond_to?(:valid_encoding?) next unless line.valid_encoding? end -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171109/1b7b599f/attachment-0001.htm