[Groonga-commit] droonga/fluent-plugin-droonga at 8a37b65 [master] Remove unused "messages"

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 3 15:37:52 JST 2014


Kouhei Sutou	2014-02-03 15:37:52 +0900 (Mon, 03 Feb 2014)

  New Revision: 8a37b657ae994e89ce909eadd7f3d7c752436b0b
  https://github.com/droonga/fluent-plugin-droonga/commit/8a37b657ae994e89ce909eadd7f3d7c752436b0b

  Message:
    Remove unused "messages"

  Modified files:
    lib/droonga/distributed_command_planner.rb
    test/unit/helper/distributed_search_planner_helper.rb

  Modified: lib/droonga/distributed_command_planner.rb (+1 -4)
===================================================================
--- lib/droonga/distributed_command_planner.rb    2014-02-03 13:56:43 +0900 (79d12c8)
+++ lib/droonga/distributed_command_planner.rb    2014-02-03 15:37:52 +0900 (dcc811a)
@@ -18,7 +18,6 @@
 module Droonga
   class DistributedCommandPlanner
     attr_accessor :key, :dataset
-    attr_reader :messages
 
     REDUCE_SUM = "sum"
 
@@ -35,13 +34,11 @@ module Droonga
       @gatherers = []
       @processor = nil
 
-      @messages = []
-
       plan_errors_handling
     end
 
     def plan
-      @messages = unified_reducers + unified_gatherers + [fixed_processor]
+      unified_reducers + unified_gatherers + [fixed_processor]
     end
 
     def reduce(params=nil)

  Modified: test/unit/helper/distributed_search_planner_helper.rb (+0 -1)
===================================================================
--- test/unit/helper/distributed_search_planner_helper.rb    2014-02-03 13:56:43 +0900 (c5356d8)
+++ test/unit/helper/distributed_search_planner_helper.rb    2014-02-03 15:37:52 +0900 (2aa0ca0)
@@ -19,7 +19,6 @@ module DistributedSearchPlannerHelper
   def plan(search_request)
     planner = Droonga::DistributedSearchPlanner.new(search_request)
     planner.plan
-    planner.messages
   end
 
   def messages
-------------- next part --------------
HTML����������������������������...
Download 



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