[Groonga-commit] droonga/fluent-plugin-droonga at 49f4567 [master] Remove needless argument

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Dec 5 12:57:37 JST 2013


YUKI Hiroshi	2013-12-05 12:57:37 +0900 (Thu, 05 Dec 2013)

  New Revision: 49f456784fe95282304626d84e3f4eae74342923
  https://github.com/droonga/fluent-plugin-droonga/commit/49f456784fe95282304626d84e3f4eae74342923

  Message:
    Remove needless argument

  Modified files:
    lib/droonga/plugin/distributor/distributed_search_plan.rb

  Modified: lib/droonga/plugin/distributor/distributed_search_plan.rb (+2 -3)
===================================================================
--- lib/droonga/plugin/distributor/distributed_search_plan.rb    2013-12-05 12:56:25 +0900 (f4c6294)
+++ lib/droonga/plugin/distributor/distributed_search_plan.rb    2013-12-05 12:57:37 +0900 (df2539c)
@@ -60,9 +60,8 @@ module Droonga
     private
     UNLIMITED = -1
 
-    def ensure_unifiable!(queries=nil)
-      queries ||= @queries
-      queries.each do |name, query|
+    def ensure_unifiable!
+      @queries.each do |name, query|
         if unifiable?(name) && query["output"]
           query["output"]["unifiable"] = true
         end
-------------- next part --------------
HTML����������������������������...
Download 



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