Skip to content

Commit

Permalink
Remove needless code
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 9, 2016
1 parent 8fcb503 commit 69345d2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/groonga-schema/diff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,11 @@ def convert

private
def convert_added_plugins
return if @diff.added_plugins.empty?

sorted_plugins = @diff.added_plugins.sort_by(&:name)
@grouped_list << sorted_plugins.collect(&:to_register_groonga_command)
end

def convert_removed_plugins
return if @diff.removed_plugins.empty?

sorted_plugins = @diff.removed_plugins.sort_by(&:name)
@grouped_list << sorted_plugins.collect(&:to_unregister_groonga_command)
end
Expand Down

0 comments on commit 69345d2

Please sign in to comment.