srdo commented on a change in pull request #2996: STORM-3376: Set Server 
callback before opening Netty socket, so we do…
URL: https://github.com/apache/storm/pull/2996#discussion_r281017001
 
 

 ##########
 File path: 
storm-client/src/jvm/org/apache/storm/security/auth/ThriftServer.java
 ##########
 @@ -30,6 +32,7 @@
     private Configuration loginConf;
     private int port;
     private boolean areWorkerTokensSupported;
+    private ITransportPlugin transportPlugin;
 
 Review comment:
   Sadly no. The constructor sets it in the try-catch block, and the exception 
handling block doesn't set the field (it stops the JVM, but the compiler 
doesn't know that)

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to