[前][次][番号順一覧][スレッド一覧]

ruby-changes:35019

From: hsbt <ko1@a...>
Date: Fri, 8 Aug 2014 16:35:30 +0900 (JST)
Subject: [ruby-changes:35019] hsbt:r47101 (trunk): * lib/drb/drb.rb: removed unreachable code.

hsbt	2014-08-08 16:35:19 +0900 (Fri, 08 Aug 2014)

  New Revision: 47101

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47101

  Log:
    * lib/drb/drb.rb: removed unreachable code.

  Modified files:
    trunk/ChangeLog
    trunk/lib/drb/drb.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47100)
+++ ChangeLog	(revision 47101)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Aug  8 16:34:22 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* lib/drb/drb.rb: removed unreachable code.
+
 Fri Aug  8 14:33:49 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* lib/webrick/httpproxy.rb: remove needless condition
Index: lib/drb/drb.rb
===================================================================
--- lib/drb/drb.rb	(revision 47100)
+++ lib/drb/drb.rb	(revision 47101)
@@ -1594,16 +1594,9 @@ module DRb https://github.com/ruby/ruby/blob/trunk/lib/drb/drb.rb#L1594
 
     end
 
-    if RUBY_VERSION >= '1.8'
-      require 'drb/invokemethod'
-      class InvokeMethod
-        include InvokeMethod18Mixin
-      end
-    else
-      require 'drb/invokemethod16'
-      class InvokeMethod
-        include InvokeMethod16Mixin
-      end
+    require 'drb/invokemethod'
+    class InvokeMethod
+      include InvokeMethod18Mixin
     end
 
     # The main loop performed by a DRbServer's internal thread.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]