Skip to content

Commit 173979a

Browse files
author
Matthew Sackman
committed
Cosmetics
1 parent e5dfc80 commit 173979a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/com/rabbitmq/client/impl/ChannelManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ public synchronized void disconnectChannel(ChannelN channel) {
145145
// a way as to cause disconnectChannel on the old channel to try to
146146
// remove the new one. Ideally we would fix this race at the source,
147147
// but it's much easier to just catch it here.
148-
synchronized(_channelMap){
148+
synchronized (_channelMap) {
149149
ChannelN existing = _channelMap.remove(channelNumber);
150150
// Nothing to do here. Move along.
151-
if(existing == null) return;
151+
if (existing == null) return;
152152
// Oops, we've gone and stomped on someone else's channel. Put it back
153153
// and pretend we didn't touch it.
154-
else if(existing != channel){
154+
else if (existing != channel) {
155155
_channelMap.put(channelNumber, existing);
156156
return;
157157
}

0 commit comments

Comments
 (0)