[Groonga-commit] groonga/groonga-query-log at bb80254 [master] analyzer: remove unused code

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Apr 17 14:07:34 JST 2015


Kouhei Sutou	2015-04-17 14:07:34 +0900 (Fri, 17 Apr 2015)

  New Revision: bb80254f3ff68c6b5ff6739132ab501794d36322
  https://github.com/groonga/groonga-query-log/commit/bb80254f3ff68c6b5ff6739132ab501794d36322

  Message:
    analyzer: remove unused code

  Modified files:
    lib/groonga/query-log/analyzer.rb

  Modified: lib/groonga/query-log/analyzer.rb (+0 -11)
===================================================================
--- lib/groonga/query-log/analyzer.rb    2015-04-17 14:07:10 +0900 (eeee933)
+++ lib/groonga/query-log/analyzer.rb    2015-04-17 14:07:34 +0900 (400b661)
@@ -225,17 +225,6 @@ module Groonga
         end
       end
 
-      def create_stream_reporter
-        case @options[:reporter]
-        when "json"
-          Groonga::QueryLog::StreamJSONQueryLogReporter.new
-        when "html"
-          raise UnsupportedReporter, "HTML reporter doesn't support --stream."
-        else
-          Groonga::QueryLog::StreamConsoleQueryLogReporter.new
-        end
-      end
-
       def parse(log_paths, &process_statistic)
         parser = Groonga::QueryLog::Parser.new(@options)
         if log_paths.empty?
-------------- next part --------------
HTML����������������������������...
Download 



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