[Groonga-commit] droonga/droonga-engine at 22d7b2e [master] Use Array#concat instead of Array#+=

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Fri Dec 12 01:00:50 JST 2014


YUKI "Piro" Hiroshi	2014-12-12 01:00:50 +0900 (Fri, 12 Dec 2014)

  New Revision: 22d7b2ee1e6f9969ef5e163926cb5d497037d3f7
  https://github.com/droonga/droonga-engine/commit/22d7b2ee1e6f9969ef5e163926cb5d497037d3f7

  Merged e0f9f34: Merge pull request #30 from piroor/replicas-in-a-branch

  Message:
    Use Array#concat instead of Array#+=

  Modified files:
    lib/droonga/catalog/replicas_volume.rb

  Modified: lib/droonga/catalog/replicas_volume.rb (+1 -1)
===================================================================
--- lib/droonga/catalog/replicas_volume.rb    2014-12-12 00:59:56 +0900 (7a69890)
+++ lib/droonga/catalog/replicas_volume.rb    2014-12-12 01:00:50 +0900 (7d007c8)
@@ -105,7 +105,7 @@ module Droonga
       def collect_all_nodes
         nodes = []
         replicas.each do |volume|
-          nodes += volume.all_nodes
+          nodes.concat(volume.all_nodes)
         end
         nodes.sort.uniq
       end
-------------- next part --------------
HTML����������������������������...
Download 



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