[Groonga-commit] droonga/fluent-plugin-droonga at 4f88e88 [use-dataset-class] Remove unused private method

Back to archive index

Yoji Shidara null+****@clear*****
Tue Feb 18 11:48:29 JST 2014


Yoji Shidara	2014-02-18 11:48:29 +0900 (Tue, 18 Feb 2014)

  New Revision: 4f88e8807408afe0629e159b1dc38c00ff1a1fb9
  https://github.com/droonga/fluent-plugin-droonga/commit/4f88e8807408afe0629e159b1dc38c00ff1a1fb9

  Message:
    Remove unused private method

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

  Modified: lib/droonga/catalog/base.rb (+0 -6)
===================================================================
--- lib/droonga/catalog/base.rb    2014-02-18 11:42:38 +0900 (e6ca540)
+++ lib/droonga/catalog/base.rb    2014-02-18 11:48:29 +0900 (ca35917)
@@ -133,12 +133,6 @@ module Droonga
       end
 
       private
-      def compute_total_weight(dataset)
-        dataset["ring"].reduce(0) do |result, zone|
-          result + zone[1]["weight"]
-        end
-      end
-
       def validate
         do_validation do
           validate_effective_date
-------------- next part --------------
HTML����������������������������...
Download 



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