jinmeiliao commented on a change in pull request #6835:
URL: https://github.com/apache/geode/pull/6835#discussion_r709391653
##########
File path:
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/command/PutUserCredentials.java
##########
@@ -39,45 +39,44 @@ public void cmdExecute(final Message clientMessage, final
ServerConnection serve
throws IOException, ClassNotFoundException, InterruptedException {
boolean isSecureMode = clientMessage.isSecureMode();
- // if (!isSecureMode)
- // client has not send secuirty header, need to send exception and log
this in security (file)
-
- if (isSecureMode) {
-
- int numberOfParts = clientMessage.getNumberOfParts();
+ if (!isSecureMode) {
+ // client has not send secuirty header, need to send exception and log
this in security (file)
Review comment:
yeah, I just preserved the old comments when refactoring the nested ifs.
I don't want to change the original behavior (at least not in this PR).
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]