Navigation Menu

Skip to content

Commit

Permalink
analyzer: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 17, 2015
1 parent 53a8c0e commit bb80254
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/groonga/query-log/analyzer.rb
Expand Up @@ -225,17 +225,6 @@ def create_reporter(statistics)
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?
Expand Down

0 comments on commit bb80254

Please sign in to comment.