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:38:35 UTC

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

Adding brackets to condition


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

Branch: refs/heads/master
Commit: aad961d4838bd24135828ebe5af371953087345d
Parents: adf4b03
Author: anuruddhal <an...@gmail.com>
Authored: Tue Sep 8 19:37:57 2015 +0530
Committer: anuruddhal <an...@gmail.com>
Committed: Tue Sep 8 19:37:57 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/aad961d4/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 473c56f..2861deb 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
@@ -275,7 +275,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);