[Groonga-commit] groonga/groonga-schema at 69345d2 [master] Remove needless code

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Aug 9 11:50:54 JST 2016


Kouhei Sutou	2016-08-09 11:50:54 +0900 (Tue, 09 Aug 2016)

  New Revision: 69345d259dea23f8f1ecf832e8051d88c3ff2eb6
  https://github.com/groonga/groonga-schema/commit/69345d259dea23f8f1ecf832e8051d88c3ff2eb6

  Message:
    Remove needless code

  Modified files:
    lib/groonga-schema/diff.rb

  Modified: lib/groonga-schema/diff.rb (+0 -4)
===================================================================
--- lib/groonga-schema/diff.rb    2016-08-09 11:47:14 +0900 (e654f51)
+++ lib/groonga-schema/diff.rb    2016-08-09 11:50:54 +0900 (cb66c07)
@@ -96,15 +96,11 @@ module GroongaSchema
 
       private
       def convert_added_plugins
-        return if****@diff*****_plugins.empty?
-
         sorted_plugins =****@diff*****_plugins.sort_by(&:name)
         @grouped_list << sorted_plugins.collect(&:to_register_groonga_command)
       end
 
       def convert_removed_plugins
-        return if****@diff*****_plugins.empty?
-
         sorted_plugins =****@diff*****_plugins.sort_by(&:name)
         @grouped_list << sorted_plugins.collect(&:to_unregister_groonga_command)
       end
-------------- next part --------------
HTML����������������������������...
Télécharger 



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