[Groonga-commit] groonga/fluent-plugin-droonga [master] Remove pre-condition check

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 9 18:47:09 JST 2013


Kouhei Sutou	2013-04-09 18:47:09 +0900 (Tue, 09 Apr 2013)

  New Revision: 7c28cfe4251af5386a194400db394d2c18525c7a
  https://github.com/groonga/fluent-plugin-droonga/commit/7c28cfe4251af5386a194400db394d2c18525c7a

  Message:
    Remove pre-condition check
    
    Caller should check it.

  Modified files:
    lib/droonga/plugin/handler_search.rb

  Modified: lib/droonga/plugin/handler_search.rb (+0 -2)
===================================================================
--- lib/droonga/plugin/handler_search.rb    2013-04-09 18:45:39 +0900 (5a22cbe)
+++ lib/droonga/plugin/handler_search.rb    2013-04-09 18:47:09 +0900 (46de2ea)
@@ -98,8 +98,6 @@ module Droonga
       end
 
       def format
-        return nil unless need_output?
-
         params = @query["output"]
         formatted_result = {}
         format_count(params, formatted_result)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index