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

[5/6] stratos git commit: Changing comment

Changing comment


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

Branch: refs/heads/master
Commit: 0b749e6bd0248f58fd6c5384f52e672cebf20745
Parents: c539fd7
Author: anuruddhal <an...@gmail.com>
Authored: Thu Aug 13 09:44:47 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Thu Aug 13 17:32:32 2015 +0530

----------------------------------------------------------------------
 .../stratos/autoscaler/applications/ApplicationUtils.java       | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/0b749e6b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java
index 6996768..d43f364 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java
@@ -80,7 +80,7 @@ public class ApplicationUtils {
      * This method creates payload string with port numbers in
      * 'PORTS': '9443|8280|8243' format
      * @param cartridge
-     * @return String containing port mapping
+     * @return String containing ports
      */
     private static String createPortsToPayloadString(Cartridge cartridge) {
 
@@ -108,9 +108,8 @@ public class ApplicationUtils {
      * PORT_MAPPINGS='NAME:mgt-console|PROTOCOL:https|PORT:30649|PROXY_PORT:0|TYPE:NodePort;
      * NAME:pt-http|PROTOCOL:http|PORT:30650|PROXY_PORT:0|TYPE:NodePort;
      * NAME:pt-https|PROTOCOL:https|PORT:30651|PROXY_PORT:0|TYPE:NodePort
-     *
      * @param cartridge
-     * @return
+     * @return string containing port mapping
      */
     private static String createPortMappingsToPayloadString(Cartridge cartridge) {