HavretGC commented on a change in pull request #38: AMQNET-616: Add TCP 
Keep-Alive support
URL: https://github.com/apache/activemq-nms-amqp/pull/38#discussion_r327987510
 
 

 ##########
 File path: src/NMS.AMQP/Transport/SecureTransportContext.cs
 ##########
 @@ -37,8 +37,8 @@ namespace Apache.NMS.AMQP.Transport
     internal class SecureTransportContext : TransportContext, 
ISecureTransportContext
     {
         
-        private readonly static List<string> SupportedProtocols;
-        private readonly static Dictionary<string, int> 
SupportedProtocolValues;
+        private static readonly List<string> SupportedProtocols;
 
 Review comment:
   It was static from the beginning. I've merely rearranged words order to 
adjust it to current code style. From what I see from the code it's static as 
it never changes. Some consts that are initialized in static constructor. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to