[Groonga-commit] droonga/fluent-plugin-droonga at 488dbc2 [master] Remove needless check

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Nov 22 16:05:54 JST 2013


Kouhei Sutou	2013-11-22 16:05:54 +0900 (Fri, 22 Nov 2013)

  New Revision: 488dbc2f53ad285d056af37245715518de526ed3
  https://github.com/droonga/fluent-plugin-droonga/commit/488dbc2f53ad285d056af37245715518de526ed3

  Message:
    Remove needless check
    
    The condition is always true.

  Modified files:
    lib/droonga/engine.rb

  Modified: lib/droonga/engine.rb (+1 -1)
===================================================================
--- lib/droonga/engine.rb    2013-11-22 16:02:40 +0900 (ac38685)
+++ lib/droonga/engine.rb    2013-11-22 16:05:54 +0900 (1e78269)
@@ -29,7 +29,7 @@ module Droonga
 
     def shutdown
       $log.trace("engine: shutdown: start")
-      @executor.shutdown if @executor
+      @executor.shutdown
       $log.trace("engine: shutdown: done")
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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