You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/09/10 08:34:13 UTC

[4/5] stratos git commit: Adding brackets to the condition

Adding brackets to the condition


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/66e4a31f
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/66e4a31f
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/66e4a31f

Branch: refs/heads/stratos-4.1.x
Commit: 66e4a31f6e185957ad17cc493094773e608498e5
Parents: c19ef37
Author: anuruddhal <an...@gmail.com>
Authored: Tue Sep 8 19:39:45 2015 +0530
Committer: anuruddhal <an...@gmail.com>
Committed: Tue Sep 8 19:39:45 2015 +0530

----------------------------------------------------------------------
 .../java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/66e4a31f/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
index b8bb00f..3d80094 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
@@ -969,7 +969,7 @@ public class AutoscalerUtil {
             boolean success = false;
             ApplicationMonitor applicationMonitor = null;
             try {
-                while (!success && retries != 0) {
+                while ((!success && retries != 0)) {
                     try {
                         startTime = System.currentTimeMillis();
                         log.info("Starting monitor: [application] " + applicationId);