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/03/17 18:59:48 UTC

[27/50] [abbrv] stratos git commit: Removed unnecessary response messages in list-domain-mappings.

Removed unnecessary response messages in list-domain-mappings.


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

Branch: refs/heads/master-deployment-policy-fix-merge
Commit: 133449535a0094f7635cf8c57fbe3d83f8268e0a
Parents: ab30145
Author: Dinithi <di...@wso2.com>
Authored: Thu Mar 12 17:17:38 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sat Mar 14 11:11:29 2015 +0530

----------------------------------------------------------------------
 .../java/org/apache/stratos/cli/RestCommandLineService.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/13344953/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
index 4cd5ba7..272b7a9 100644
--- a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
+++ b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
@@ -1274,7 +1274,7 @@ public class RestCommandLineService {
                     ENDPOINT_DOMAIN_MAPPINGS.replace("{applicationId}", applicationId),
                     listType, "domain mappings");
             if ((list == null) && (list.size() <= 0)) {
-                System.out.println("No domain mappings found in application: [application-id] " + applicationId);
+                System.out.println("No domain mappings found in application: " + applicationId);
                 return;
             }
 
@@ -1289,10 +1289,10 @@ public class RestCommandLineService {
 
             DomainMappingBean[] array = new DomainMappingBean[list.size()];
             array = list.toArray(array);
-            System.out.println("Domain mappings found in application: [application-id] " + applicationId);
+            System.out.println("Domain mappings found in application: " + applicationId);
             CliUtils.printTable(array, rowMapper, "Domain Name", "Context Path");
         } catch (Exception e) {
-            String message = "Could not list domain mappings in application: [application-id] " + applicationId;
+            String message = "Could not list domain mappings in application: " + applicationId;
             printError(message, e);
         }
     }