[Groonga-commit] groonga/grntest [master] Remove needless fold

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 6日 (水) 15:54:27 JST


Haruka Yoshihara	2012-06-06 15:54:27 +0900 (Wed, 06 Jun 2012)

  New Revision: 48780d531d600309765067c90cb79b4012333975

  Log:
    Remove needless fold

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+2 -4)
===================================================================
--- lib/groonga/tester.rb    2012-06-06 15:53:19 +0900 (8517b3d)
+++ lib/groonga/tester.rb    2012-06-06 15:54:27 +0900 (457a265)
@@ -650,15 +650,13 @@ module Groonga
           end
 
           if last_parameter.empty?
-            query_parameter =
-              arguments_name(command)[count]
+            query_parameter = arguments_name(command)[count]
           else
             query_parameter = last_parameter
           end
 
           value = argument
-          converted_values =
-              converted_values.merge(query_parameter => value)
+          converted_values = converted_values.merge(query_parameter => value)
           last_argument = ""
         end
         converted_values




Groonga-commit メーリングリストの案内
Back to archive index