You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/10/06 12:51:29 UTC

[2/2] qpid-proton git commit: NO-JIRA: ruby: remove dead code

NO-JIRA: ruby: remove dead code

unused function do_work
outdated FIXME comment


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/121c2d29
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/121c2d29
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/121c2d29

Branch: refs/heads/master
Commit: 121c2d2927a8ca936729bd31c2f2c17f7b446ebe
Parents: 446ade3
Author: Alan Conway <ac...@redhat.com>
Authored: Fri Sep 29 12:03:58 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Fri Oct 6 08:51:13 2017 -0400

----------------------------------------------------------------------
 proton-c/bindings/ruby/lib/reactor/container.rb | 4 ----
 proton-c/bindings/ruby/spec/array_spec.rb       | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/121c2d29/proton-c/bindings/ruby/lib/reactor/container.rb
----------------------------------------------------------------------
diff --git a/proton-c/bindings/ruby/lib/reactor/container.rb b/proton-c/bindings/ruby/lib/reactor/container.rb
index 4623d7a..2828bb9 100644
--- a/proton-c/bindings/ruby/lib/reactor/container.rb
+++ b/proton-c/bindings/ruby/lib/reactor/container.rb
@@ -238,10 +238,6 @@ module Qpid::Proton::Reactor
     end
 
     private
-    def do_work(timeout = nil)
-      self.timeout = timeout unless timeout.nil?
-      self.process
-    end
 
     def id(container, remote, local)
       if !local.nil? && !remote.nil?

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/121c2d29/proton-c/bindings/ruby/spec/array_spec.rb
----------------------------------------------------------------------
diff --git a/proton-c/bindings/ruby/spec/array_spec.rb b/proton-c/bindings/ruby/spec/array_spec.rb
index b655358..5d91f1a 100644
--- a/proton-c/bindings/ruby/spec/array_spec.rb
+++ b/proton-c/bindings/ruby/spec/array_spec.rb
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-require 'spec_helper'         #FIXME aconway 2017-09-11:
+require 'spec_helper'
 
 describe "The extended array type" do
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org