[Groonga-commit] droonga/fluent-plugin-droonga at 4aa2088 [master] Remove "do" from "while"

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 14 18:22:42 JST 2013


Kouhei Sutou	2013-11-14 18:22:42 +0900 (Thu, 14 Nov 2013)

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

  Message:
    Remove "do" from "while"
    
    Normally, "do" is omitted for "while" in Ruby.

  Modified files:
    benchmark/watch/benchmark-notify.rb

  Modified: benchmark/watch/benchmark-notify.rb (+1 -1)
===================================================================
--- benchmark/watch/benchmark-notify.rb    2013-11-14 17:48:49 +0900 (04dce99)
+++ benchmark/watch/benchmark-notify.rb    2013-11-14 18:22:42 +0900 (92d07fb)
@@ -55,7 +55,7 @@ class NotifyBenchmark
     end
 
     notifications = []
-    while notifications.size != @n_times do
+    while notifications.size != @n_times
       notifications << @receiver.new_message
     end
     notifications
-------------- next part --------------
HTML����������������������������...
Download 



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