summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-05-28 14:00:27 +0100
committerMatthias Radestock <matthias@lshift.net>2010-05-28 14:00:27 +0100
commitb4b29b285354678df1262799b59f6bf4259a5c94 (patch)
treeda235e8452c254a2608424eeca2397950a17e27f
parent97eaa3fde5fce6137dde1e6c28f545f7c88be5d0 (diff)
downloadrabbitmq-server-b4b29b285354678df1262799b59f6bf4259a5c94.tar.gz
remove misleading comments
-rw-r--r--src/rabbit_channel.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 490dd31d..31bb54c0 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -702,10 +702,6 @@ handle_method(#'queue.declare'{queue = QueueNameBin,
Finish =
fun (#amqqueue{name = QueueName, exclusive_owner = Owner1} = Q)
when Owner =:= Owner1 ->
- %% "equivalent" rule. NB: we don't pay attention to
- %% anything in the arguments table, so for the sake of
- %% the "equivalent" rule, all tables of arguments are
- %% semantically equivalant.
check_configure_permitted(QueueName, State),
%% We need to notify the reader within the channel
%% process so that we can be sure there are no
@@ -717,7 +713,6 @@ handle_method(#'queue.declare'{queue = QueueNameBin,
end,
Q;
(#amqqueue{name = QueueName}) ->
- %% exclusivity trumps non-equivalence arbitrarily
rabbit_misc:protocol_error(
resource_locked,
"cannot obtain exclusive access to locked ~s",