[Groonga-commit] droonga/droonga-engine at 05a8098 [buffered-forward] Reduce use of needless temporary variable

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Mar 25 15:07:49 JST 2015


YUKI Hiroshi	2015-03-25 15:07:49 +0900 (Wed, 25 Mar 2015)

  New Revision: 05a80984d1ff724f9d86aece0b31ec06ea0c612a
  https://github.com/droonga/droonga-engine/commit/05a80984d1ff724f9d86aece0b31ec06ea0c612a

  Message:
    Reduce use of needless temporary variable

  Modified files:
    lib/droonga/plugins/system.rb

  Modified: lib/droonga/plugins/system.rb (+1 -2)
===================================================================
--- lib/droonga/plugins/system.rb    2015-03-25 15:07:28 +0900 (63de779)
+++ lib/droonga/plugins/system.rb    2015-03-25 15:07:49 +0900 (4cbbf27)
@@ -25,9 +25,8 @@ module Droonga
         action.synchronous = true
 
         def handle(message)
-          cluster =****@messe*****
           {
-            "nodes" => cluster.engine_nodes_status,
+            "nodes"    => @messenger.cluster.engine_nodes_status,
             "reporter" => @messenger.engine_state.internal_name,
           }
         end
-------------- next part --------------
HTML����������������������������...
Download 



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