rhtyd commented on a change in pull request #2239: CLOUDSTACK-9993: Securing
Agents Communications
URL: https://github.com/apache/cloudstack/pull/2239#discussion_r134768766
##########
File path: agent/src/com/cloud/agent/Agent.java
##########
@@ -464,7 +493,7 @@ protected void processRequest(final Request request, final
Link link) {
for (int i = 0; i < cmds.length; i++) {
final Command cmd = cmds[i];
- Answer answer;
+ Answer answer = null;
Review comment:
this can be removed, an uninitialized variable is `null`, it just states it
explicitly.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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