diff options
| author | Ted Ross <tross@apache.org> | 2012-04-16 15:14:03 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2012-04-16 15:14:03 +0000 |
| commit | 29f9858327b6037a0bbef1a39104598437cdfa5c (patch) | |
| tree | d1bbe673c9935bac26b7e3708a8ee326594747dc /cpp/bindings | |
| parent | b5388211d6cd5d6e8809bb5a3ab561243bd5ec68 (diff) | |
| download | qpid-python-29f9858327b6037a0bbef1a39104598437cdfa5c.tar.gz | |
QPID-3928 - Removed trailing colons in conditionals.
Applied patch from Darryl Pierce
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1326645 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings')
| -rw-r--r-- | cpp/bindings/qpid/ruby/lib/qpid/encoding.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/bindings/qpid/ruby/lib/qpid/encoding.rb b/cpp/bindings/qpid/ruby/lib/qpid/encoding.rb index 7b9130156d..2f20fab18e 100644 --- a/cpp/bindings/qpid/ruby/lib/qpid/encoding.rb +++ b/cpp/bindings/qpid/ruby/lib/qpid/encoding.rb @@ -45,8 +45,10 @@ module Qpid content_type = message.content_type unless content_type case content_type - when "amqp/map": Cqpid.decodeMap message.message_impl - when "amqp/list": Cqpid.decodeList message.message_impl + when "amqp/map" + Cqpid.decodeMap message.message_impl + when "amqp/list" + Cqpid.decodeList message.message_impl end message.content |
