From c7a3ad4dc047854cd73a85fedb23fd41d67c11f0 Mon Sep 17 00:00:00 2001 From: radu-stefanache Date: Wed, 19 Aug 2015 16:08:42 +0100 Subject: [PATCH] More typos --- .../api/command/user/autoscale/CreateAutoScalePolicyCmd.java | 2 +- engine/schema/src/com/cloud/network/dao/VpnUserDao.java | 2 +- .../org/apache/cloudstack/ldap/LdapContextFactorySpec.groovy | 2 +- .../org/apache/cloudstack/ldap/LdapUserResponseSpec.groovy | 2 +- scripts/vm/hypervisor/xenserver/cloudlog | 2 +- server/src/com/cloud/ha/RecreatableFencer.java | 2 +- services/console-proxy-rdp/rdpconsole/README.txt | 2 +- .../rdpconsole/src/main/java/common/Client.java | 2 +- test/integration/component/test_escalations_ipaddresses.py | 4 ++-- test/integration/component/test_ldap.py | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/api/src/org/apache/cloudstack/api/command/user/autoscale/CreateAutoScalePolicyCmd.java b/api/src/org/apache/cloudstack/api/command/user/autoscale/CreateAutoScalePolicyCmd.java index 4541efa7980..6a2b491f2f4 100644 --- a/api/src/org/apache/cloudstack/api/command/user/autoscale/CreateAutoScalePolicyCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/autoscale/CreateAutoScalePolicyCmd.java @@ -134,7 +134,7 @@ public class CreateAutoScalePolicyCmd extends BaseAsyncCreateCmd { long conditionId = getConditionIds().get(0); Condition condition = _entityMgr.findById(Condition.class, conditionId); if (condition == null) { - // it is an invalid condition, return system acccount, error will be thrown later. + // it is an invalid condition, return system account, error will be thrown later. conditionDomainId = Domain.ROOT_DOMAIN; conditionAccountId = Account.ACCOUNT_ID_SYSTEM; } else { diff --git a/engine/schema/src/com/cloud/network/dao/VpnUserDao.java b/engine/schema/src/com/cloud/network/dao/VpnUserDao.java index bc9fbd73652..83da918b6e1 100644 --- a/engine/schema/src/com/cloud/network/dao/VpnUserDao.java +++ b/engine/schema/src/com/cloud/network/dao/VpnUserDao.java @@ -24,7 +24,7 @@ import com.cloud.utils.db.GenericDao; public interface VpnUserDao extends GenericDao { List listByAccount(Long accountId); - VpnUserVO findByAccountAndUsername(Long acccountId, String userName); + VpnUserVO findByAccountAndUsername(Long accountId, String userName); long getVpnUserCount(Long accountId); } diff --git a/plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapContextFactorySpec.groovy b/plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapContextFactorySpec.groovy index 2a665283edd..15408833a65 100644 --- a/plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapContextFactorySpec.groovy +++ b/plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapContextFactorySpec.groovy @@ -61,7 +61,7 @@ class LdapContextFactorySpec extends spock.lang.Specification { password = "password" } - def "Test succcessfully creating a initial context"() { + def "Test successfully creating a initial context"() { given: "We have a LdapContextFactory" def ldapContextFactory = new LdapContextFactory(ldapConfiguration) when: "A context attempts to bind and no Ldap server is avaiable" diff --git a/plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUserResponseSpec.groovy b/plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUserResponseSpec.groovy index 9a64539eec5..506f5e4b74e 100644 --- a/plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUserResponseSpec.groovy +++ b/plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUserResponseSpec.groovy @@ -20,7 +20,7 @@ import org.apache.cloudstack.api.response.LdapUserResponse class LdapUserResponseSpec extends spock.lang.Specification { - def "Testing succcessful setting of LdapUserResponse email"() { + def "Testing successful setting of LdapUserResponse email"() { given: "We have an LdapResponse" LdapUserResponse response = new LdapUserResponse(); when: "An email address is set" diff --git a/scripts/vm/hypervisor/xenserver/cloudlog b/scripts/vm/hypervisor/xenserver/cloudlog index bc78596efec..ea84312de05 100644 --- a/scripts/vm/hypervisor/xenserver/cloudlog +++ b/scripts/vm/hypervisor/xenserver/cloudlog @@ -18,7 +18,7 @@ # Version @VERSION@ # -# A log rotat config for CS plugin log +# A log rotate config for CS plugin log diff --git a/server/src/com/cloud/ha/RecreatableFencer.java b/server/src/com/cloud/ha/RecreatableFencer.java index 80bdd1d71d3..4aa74385dff 100644 --- a/server/src/com/cloud/ha/RecreatableFencer.java +++ b/server/src/com/cloud/ha/RecreatableFencer.java @@ -58,7 +58,7 @@ public class RecreatableFencer extends AdapterBase implements FenceBuilder { for (VolumeVO vol : vols) { if (!vol.isRecreatable()) { if (s_logger.isDebugEnabled()) { - s_logger.debug("Unable to f ence off volumes that are not recreatable: " + vol); + s_logger.debug("Unable to fence off volumes that are not recreatable: " + vol); } return null; } diff --git a/services/console-proxy-rdp/rdpconsole/README.txt b/services/console-proxy-rdp/rdpconsole/README.txt index 546746c22fa..aa4d9488d5e 100755 --- a/services/console-proxy-rdp/rdpconsole/README.txt +++ b/services/console-proxy-rdp/rdpconsole/README.txt @@ -22,7 +22,7 @@ Usage: Common options: --help|-h Show this help text. --debug-link|-DL Print debugging messages when packets are trasnferred via links. - --debug-element|-DE Print debugging messages when packets are received or sended by elements. + --debug-element|-DE Print debugging messages when packets are received or sent by elements. --debug-pipeline|-DP Print debugging messages in pipelines. --host|-n|--host-name VALUE Name or IP address of host to connect to. Required. --width|-W VALUE Width of canvas. Default value is "1024". diff --git a/services/console-proxy-rdp/rdpconsole/src/main/java/common/Client.java b/services/console-proxy-rdp/rdpconsole/src/main/java/common/Client.java index f21d7e35b5a..eb345a2230d 100644 --- a/services/console-proxy-rdp/rdpconsole/src/main/java/common/Client.java +++ b/services/console-proxy-rdp/rdpconsole/src/main/java/common/Client.java @@ -66,7 +66,7 @@ public class Client { { name = "--debug-element"; alias = "-DE"; - description = "Print debugging messages when packets are received or sended by elements."; + description = "Print debugging messages when packets are received or sent by elements."; } }; private final Option debugPipeline = new Option() { diff --git a/test/integration/component/test_escalations_ipaddresses.py b/test/integration/component/test_escalations_ipaddresses.py index ee940d3f0bd..03e36b96712 100644 --- a/test/integration/component/test_escalations_ipaddresses.py +++ b/test/integration/component/test_escalations_ipaddresses.py @@ -1947,12 +1947,12 @@ class TestIpAddresses(cloudstackTestCase): self.assertEqual( 1, len(list_ipaddresses_after), - "VM Created is not in Runnning state" + "VM Created is not in Running state" ) self.assertEquals( vm_created.id, list_vms_running[0].id, - "VM Created is not in Runnning state" + "VM Created is not in Running state" ) # Listing Virtual Machines in stopped state in above created network list_vms_stopped = VirtualMachine.list( diff --git a/test/integration/component/test_ldap.py b/test/integration/component/test_ldap.py index 2a5cf29fd6a..1ebd98aaa13 100644 --- a/test/integration/component/test_ldap.py +++ b/test/integration/component/test_ldap.py @@ -128,7 +128,7 @@ class TestLdap(cloudstackTestCase): if self.ldapconfRes == 1: - self.debug("Ldap Configuration was succcessful") + self.debug("Ldap Configuration was successful") loginRes = self._checklogin( self.services["configurableData"]["ldap_configuration"]["ldapUsername"],