[Groonga-commit] droonga/fluent-plugin-droonga at 51e2a20 [master] Remove unused code

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 20 17:09:16 JST 2013


Kouhei Sutou	2013-12-20 17:09:16 +0900 (Fri, 20 Dec 2013)

  New Revision: 51e2a20f63cec3b8a960f1396e2097cf231dfae8
  https://github.com/droonga/fluent-plugin-droonga/commit/51e2a20f63cec3b8a960f1396e2097cf231dfae8

  Message:
    Remove unused code

  Modified files:
    lib/droonga/input_adapter_plugin.rb

  Modified: lib/droonga/input_adapter_plugin.rb (+0 -22)
===================================================================
--- lib/droonga/input_adapter_plugin.rb    2013-12-20 17:06:18 +0900 (d221775)
+++ lib/droonga/input_adapter_plugin.rb    2013-12-20 17:09:16 +0900 (5210f68)
@@ -25,27 +25,5 @@ module Droonga
       super()
       @dispatcher = dispatcher
     end
-
-    def add_route(route)
-      @dispatcher.add_route(route)
-    end
-
-    def post(body, destination=nil)
-      @dispatcher.post(body, destination)
-    end
-
-    def emit(value, name=nil)
-      if name
-        @output_values[name] = value
-      else
-        @output_values = value
-      end
-    end
-
-    def process(command, message)
-      @output_values = {}
-      super(command, message)
-      post(@output_values) unless @output_values.empty?
-    end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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