storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [5/7] storm git commit: Renaming local variable to camelCase
Date Mon, 07 Mar 2016 20:29:40 GMT
Renaming local variable to camelCase


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/1dbdfb17
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/1dbdfb17
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/1dbdfb17

Branch: refs/heads/master
Commit: 1dbdfb1769979a8391348b5275bfd4bd2a4edf18
Parents: 5e2d44d
Author: Kishor Patil <kpatil@yahoo-inc.com>
Authored: Wed Mar 2 12:48:48 2016 -0600
Committer: Kishor Patil <kpatil@yahoo-inc.com>
Committed: Wed Mar 2 12:48:48 2016 -0600

----------------------------------------------------------------------
 .../storm/security/auth/plain/PlainSaslTransportPlugin.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/1dbdfb17/storm-core/src/jvm/org/apache/storm/security/auth/plain/PlainSaslTransportPlugin.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/org/apache/storm/security/auth/plain/PlainSaslTransportPlugin.java
b/storm-core/src/jvm/org/apache/storm/security/auth/plain/PlainSaslTransportPlugin.java
index 6247fe6..eaef91a 100644
--- a/storm-core/src/jvm/org/apache/storm/security/auth/plain/PlainSaslTransportPlugin.java
+++ b/storm-core/src/jvm/org/apache/storm/security/auth/plain/PlainSaslTransportPlugin.java
@@ -38,13 +38,13 @@ public class PlainSaslTransportPlugin extends SaslTransportPlugin {
     @Override
     protected TTransportFactory getServerTransportFactory() throws IOException {
         //create an authentication callback handler
-        CallbackHandler server_callback_handler = new PlainServerCallbackHandler();
+        CallbackHandler serverCallbackHandler = new PlainServerCallbackHandler();
         if (Security.getProvider(SaslPlainServer.SecurityProvider.SASL_PLAIN_SERVER) == null)
{
             Security.addProvider(new SaslPlainServer.SecurityProvider());
         }
         //create a transport factory that will invoke our auth callback for digest
         TSaslServerTransport.Factory factory = new TSaslServerTransport.Factory();
-        factory.addServerDefinition(PLAIN, AuthUtils.SERVICE, "localhost", null, server_callback_handler);
+        factory.addServerDefinition(PLAIN, AuthUtils.SERVICE, "localhost", null, serverCallbackHandler);
 
         LOG.info("SASL PLAIN transport factory will be used");
         return factory;


Mime
View raw message