You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2018/08/21 22:38:23 UTC

[GitHub] nlu90 closed pull request #2998: remove unnecessary parentheses

nlu90 closed pull request #2998: remove unnecessary parentheses
URL: https://github.com/apache/incubator-heron/pull/2998
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/heron/tools/apiserver/src/java/org/apache/heron/apiserver/resources/TopologyResource.java b/heron/tools/apiserver/src/java/org/apache/heron/apiserver/resources/TopologyResource.java
index 022d02337c..78c0dd61ce 100644
--- a/heron/tools/apiserver/src/java/org/apache/heron/apiserver/resources/TopologyResource.java
+++ b/heron/tools/apiserver/src/java/org/apache/heron/apiserver/resources/TopologyResource.java
@@ -364,7 +364,7 @@ public Response update(
 
         if ((components != null && !components.isEmpty()) || (containersList.get(0) != null)) {
           return updateComponentParallelism(cluster, role, environment, name, params,
-              components, (containersList.size() > 0 ? containersList.get(0) : null));
+              components, containersList.size() > 0 ? containersList.get(0) : null);
         } else if (runtimeConfigs != null && !runtimeConfigs.isEmpty()) {
           return updateRuntimeConfig(cluster, role, environment, name, params, runtimeConfigs);
         } else {


 

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


With regards,
Apache Git Services