Skip to content

Commit fa39e61

Browse files
authored
Fix spelling (#6609)
1 parent 0c93a85 commit fa39e61

File tree

56 files changed

+256
-256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+256
-256
lines changed

api/src/test/java/com/cloud/agent/api/storage/OVFHelperTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ public class OVFHelperTest {
521521
" </Property>\n" +
522522
" <Property ovf:key=\"guestinfo.cis.appliance.ntp.servers\" ovf:type=\"string\" ovf:userConfigurable=\"false\" ovf:value=\"\">\n" +
523523
" <Label>NTP Servers</Label>\n" +
524-
" <Description>A comma-seperated list of hostnames or IP addresses of NTP Servers</Description>\n" +
524+
" <Description>A comma-separated list of hostnames or IP addresses of NTP Servers</Description>\n" +
525525
" </Property>\n" +
526526
" <Property ovf:key=\"guestinfo.cis.deployment.node.type\" ovf:type=\"string\" ovf:userConfigurable=\"false\" ovf:value=\"embedded\">\n" +
527527
" <Label>Deployment Type</Label>\n" +

engine/schema/src/main/java/com/cloud/service/dao/ServiceOfferingDetailsDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ public String getDetail(Long serviceOfferingId, String key) {
7272
@Override
7373
public List<Long> findOfferingIdsByDomainIds(List<Long> domainIds) {
7474
Object[] dIds = domainIds.stream().map(s -> String.valueOf(s)).collect(Collectors.toList()).toArray();
75-
return findResouceIdsByNameAndValueIn("domainid", dIds);
75+
return findResourceIdsByNameAndValueIn("domainid", dIds);
7676
}
7777
}

engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade222to224.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void performDataMigration(Connection conn) {
8989
upgradeGuestOs(conn);
9090
fixRecreatableVolumesProblem(conn);
9191
updateFkeysAndIndexes(conn);
92-
fixIPResouceCount(conn);
92+
fixIPResourceCount(conn);
9393
} catch (SQLException e) {
9494
throw new CloudRuntimeException("Unable to perform data migration", e);
9595
}
@@ -521,7 +521,7 @@ private void updateFkeysAndIndexes(Connection conn) throws SQLException {
521521

522522
// In 2.2.x there was a bug when resource_count was incremented when Direct ip was allocated. Have to fix it during the
523523
// upgrade
524-
private void fixIPResouceCount(Connection conn) throws SQLException {
524+
private void fixIPResourceCount(Connection conn) throws SQLException {
525525
// First set all public_ip fields to be 0
526526
PreparedStatement pstmt = conn.prepareStatement("UPDATE resource_count set count=0 where type='public_ip'");
527527
pstmt.executeUpdate();

engine/schema/src/main/java/org/apache/cloudstack/resourcedetail/ResourceDetailsDao.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@ public interface ResourceDetailsDao<R extends ResourceDetail> extends GenericDao
9696

9797
public void addDetail(long resourceId, String key, String value, boolean display);
9898

99-
public List<Long> findResouceIdsByNameAndValueIn(String name, Object[] values);
99+
public List<Long> findResourceIdsByNameAndValueIn(String name, Object[] values);
100100
}

engine/schema/src/main/java/org/apache/cloudstack/resourcedetail/ResourceDetailsDaoBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public List<R> listDetails(long resourceId, boolean forDisplay) {
186186
}
187187

188188
@Override
189-
public List<Long> findResouceIdsByNameAndValueIn(String name, Object[] values) {
189+
public List<Long> findResourceIdsByNameAndValueIn(String name, Object[] values) {
190190
GenericSearchBuilder<R, Long> sb = createSearchBuilder(Long.class);
191191
sb.selectFields(sb.entity().getResourceId());
192192
sb.and("name", sb.entity().getName(), Op.EQ);

engine/schema/src/main/java/org/apache/cloudstack/resourcedetail/dao/DiskOfferingDetailsDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public String getDetail(Long diskOfferingId, String key) {
7171
@Override
7272
public List<Long> findOfferingIdsByDomainIds(List<Long> domainIds) {
7373
Object[] dIds = domainIds.stream().map(s -> String.valueOf(s)).collect(Collectors.toList()).toArray();
74-
return findResouceIdsByNameAndValueIn("domainid", dIds);
74+
return findResourceIdsByNameAndValueIn("domainid", dIds);
7575
}
7676
}
7777

engine/schema/src/main/resources/META-INF/db/schema-410to420.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@ CREATE TABLE `cloud`.`network_acl_item` (
20212021
`icmp_code` int(10) COMMENT 'The ICMP code (if protocol=ICMP). A value of -1 means all codes for the given ICMP type.',
20222022
`icmp_type` int(10) COMMENT 'The ICMP type (if protocol=ICMP). A value of -1 means all types.',
20232023
`traffic_type` char(32) COMMENT 'the traffic type of the rule, can be Ingress or Egress',
2024-
`cidr` varchar(255) COMMENT 'comma seperated cidr list',
2024+
`cidr` varchar(255) COMMENT 'comma separated cidr list',
20252025
`number` int(10) NOT NULL COMMENT 'priority number of the acl item',
20262026
`action` varchar(10) NOT NULL COMMENT 'rule action, allow or deny',
20272027
PRIMARY KEY (`id`),

plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/resources/helpers/Ovm3StoragePool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private Boolean setupPool(StorageFilerTO cmd) throws Ovm3ResourceException {
251251
}
252252

253253
/**
254-
* Adding members to a pool, this is seperate from cluster configuration in
254+
* Adding members to a pool, this is separate from cluster configuration in
255255
* OVM.
256256
*
257257
* @return

plugins/hypervisors/simulator/src/main/java/com/cloud/api/commands/ConfigureSimulatorCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class ConfigureSimulatorCmd extends BaseCmd {
6363
@Parameter(name = ApiConstants.NAME, type = CommandType.STRING, required = true, description = "which command needs to be configured")
6464
private String command;
6565

66-
@Parameter(name = ApiConstants.VALUE, type = CommandType.STRING, required = true, description = "configuration options for this command, which is seperated by ;")
66+
@Parameter(name = ApiConstants.VALUE, type = CommandType.STRING, required = true, description = "configuration options for this command, which is separated by ;")
6767
private String values;
6868

6969
@Parameter(name=ApiConstants.COUNT, type=CommandType.INTEGER, description="number of times the mock is active")

plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/manager/VmwareManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public interface VmwareManager {
4141
"If a worker vm is older then twice the 'job.expire.minutes' + 'job.cancel.threshold.minutes' , remove it.", true, ConfigKey.Scope.Global);
4242

4343
static final ConfigKey<String> s_vmwareSearchExcludeFolder = new ConfigKey<String>("Advanced", String.class, "vmware.search.exclude.folders", null,
44-
"Comma seperated list of Datastore Folders to exclude from VMWare search", true, ConfigKey.Scope.Global);
44+
"Comma separated list of Datastore Folders to exclude from VMWare search", true, ConfigKey.Scope.Global);
4545

4646
static final ConfigKey<Integer> s_vmwareOVAPackageTimeout = new ConfigKey<Integer>(Integer.class, "vmware.package.ova.timeout", "Advanced", "3600",
4747
"Vmware script timeout for ova packaging process", true, ConfigKey.Scope.Global, 1000);

0 commit comments

Comments
 (0)