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

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Fri Dec 12 00:59:56 JST 2014


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

  New Revision: 9bbd85aa9ccd3b2f06b85e486609e47a41717495
  https://github.com/droonga/droonga-engine/commit/9bbd85aa9ccd3b2f06b85e486609e47a41717495

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

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

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

  Modified: lib/droonga/catalog/slices_volume.rb (+1 -1)
===================================================================
--- lib/droonga/catalog/slices_volume.rb    2014-12-12 00:59:04 +0900 (18d4e93)
+++ lib/droonga/catalog/slices_volume.rb    2014-12-12 00:59:56 +0900 (8785c3a)
@@ -132,7 +132,7 @@ module Droonga
       def collect_all_nodes
         nodes = []
         slices.each do |slice|
-          nodes += slice.all_nodes
+          nodes.concat(slice.all_nodes)
         end
         nodes.uniq.sort
       end
-------------- next part --------------
HTML����������������������������...
Download 



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