[Groonga-commit] droonga/droonga-engine at c64c7fe [buffered-forward] Fix typo

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Dec 18 19:10:21 JST 2014


YUKI Hiroshi	2014-12-18 19:10:21 +0900 (Thu, 18 Dec 2014)

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

  Message:
    Fix typo

  Modified files:
    lib/droonga/forward_buffer.rb

  Modified: lib/droonga/forward_buffer.rb (+2 -2)
===================================================================
--- lib/droonga/forward_buffer.rb    2014-12-18 19:08:34 +0900 (1bd4ca7)
+++ lib/droonga/forward_buffer.rb    2014-12-18 19:10:21 +0900 (8b1d479)
@@ -67,7 +67,7 @@ module Droonga
     private
     def output(buffered_message_path)
       buffered_message_path = Pathname(buffered_message_path)
-      timestamp = buffered_message_path.basename(".#{SUFFIX}")
+      time_stamp = buffered_message_path.basename(".#{SUFFIX}")
       file_contents = buffered_message_path.read
       buffered_message = JSON.parse(file_contents)
       @forwarder.output(buffered_message["receiver"],
@@ -78,7 +78,7 @@ module Droonga
       FileUtils.rm_f(buffered_message_path.to_s)
     end
 
-    def file_path(timestamp=Time.now)
+    def file_path(time_stamp=Time.now)
       @data_directory + "#{time_stamp.iso8601(6)}.#{SUFFIX}"
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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