cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [1/2] git commit: updated refs/heads/4.2 to 3d4d350
Date Tue, 30 Jul 2013 05:56:03 GMT
Updated Branches:
  refs/heads/4.2 238815759 -> 3d4d350db


Fix a few typos in ConfigurationManager.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


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

Branch: refs/heads/4.2
Commit: c78ed39b2f53a3544b93515e6bb4889eef8c5888
Parents: 2388157
Author: Thomas O'Dowd <tpodowd@cloudian.com>
Authored: Fri Jul 26 17:34:15 2013 +0900
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Tue Jul 30 11:15:23 2013 +0530

----------------------------------------------------------------------
 .../com/cloud/configuration/ConfigurationManagerImpl.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c78ed39b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
index deebafa..3ec3514 100755
--- a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
+++ b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
@@ -725,7 +725,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
 
         if (type.equals(Boolean.class)) {
             if (!(value.equals("true") || value.equals("false"))) {
-                s_logger.error("Configuration variable " + name + " is expecting true or
false in stead of " + value);
+                s_logger.error("Configuration variable " + name + " is expecting true or
false instead of " + value);
                 return "Please enter either 'true' or 'false'.";
             }
             return null;
@@ -782,17 +782,17 @@ public class ConfigurationManagerImpl extends ManagerBase implements
Configurati
             } else if (range.equals("hypervisorList")) {
                 String[] hypervisors = value.split(",");
                 if (hypervisors == null) {
-                    return "Please enter hypervisor list, seperated by comma";
+                    return "Please enter hypervisor list, separated by comma";
                 }
                 for (String hypervisor : hypervisors) {
                     if (HypervisorType.getType(hypervisor) == HypervisorType.Any
                             || HypervisorType.getType(hypervisor) == HypervisorType.None)
{
-                        return "Please enter valid hypervisor type";
+                        return "Please enter a valid hypervisor type";
                     }
                 }
             } else if (range.equalsIgnoreCase("instanceName")) {
                 if (!NetUtils.verifyInstanceName(value)) {
-                    return "Instance name can not contain hyphen, spaces and plus sign";
+                    return "Instance name can not contain hyphen, space or plus sign";
                 }
             } else if (range.equals("routes")) {
                 String[] routes = value.split(",");


Mime
View raw message