From 6a7fc51c6675786f4791c45edc1fac42ea6e3df9 Mon Sep 17 00:00:00 2001 From: Leon Breedt Date: Sun, 20 Feb 2005 01:07:54 +0000 Subject: add code coverage testing scripts, remove dead code detected by said scripts git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionwebservice/lib/action_web_service/dispatcher/abstract.rb | 8 -------- .../action_web_service/dispatcher/action_controller_dispatcher.rb | 2 -- 2 files changed, 10 deletions(-) (limited to 'actionwebservice/lib/action_web_service') diff --git a/actionwebservice/lib/action_web_service/dispatcher/abstract.rb b/actionwebservice/lib/action_web_service/dispatcher/abstract.rb index e03446924a..2262cd1cdd 100644 --- a/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +++ b/actionwebservice/lib/action_web_service/dispatcher/abstract.rb @@ -75,10 +75,6 @@ module ActionWebService # :nodoc: return_value end - def fallback_invoke(dispatch_request) - raise NotImplementedError - end - def prepare_dispatch_request(protocol_request) api = method_name = web_service_name = web_service = params = nil public_method_name = protocol_request.public_method_name @@ -122,15 +118,11 @@ module ActionWebService # :nodoc: when :direct if web_service_exception_reporting return protocol_request.protocol.marshal_exception(exception) - else - raise exception end when :delegated web_service = web_service_object(protocol_request.web_service_name) if web_service && web_service.class.web_service_exception_reporting return protocol_request.protocol.marshal_exception(exception) - else - raise exception end end else diff --git a/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb b/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb index 68c0f4ffb3..a8f34f2e33 100644 --- a/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +++ b/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb @@ -7,8 +7,6 @@ module ActionWebService # :nodoc: class << self alias_method :inherited_without_action_controller, :inherited end - end - base.class_eval do alias_method :before_direct_invoke_without_action_controller, :before_direct_invoke alias_method :after_direct_invoke_without_action_controller, :after_direct_invoke end -- cgit v1.2.3