Skip to content

Commit 36caffb

Browse files
author
David R. MacIver
committed
make the IntAllocator in ChannelManager final
1 parent 7ad94e9 commit 36caffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
public class ChannelManager {
4848
/** Mapping from channel number to AMQChannel instance */
4949
private final Map<Integer, ChannelN> _channelMap = Collections.synchronizedMap(new HashMap<Integer, ChannelN>());
50-
private IntAllocator channelNumberAllocator;
50+
private final IntAllocator channelNumberAllocator;
5151

5252
/** Maximum channel number available on this connection. */
5353
public final int _channelMax;

0 commit comments

Comments
 (0)