Skip to content

Commit 4eb110a

Browse files
authored
Remove unneeded duplicate words (apache#7850)
1 parent 45616aa commit 4eb110a

File tree

55 files changed

+73
-73
lines changed

Some content is hidden

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

55 files changed

+73
-73
lines changed

api/src/main/java/com/cloud/server/ManagementService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public interface ManagementService {
106106
Pair<List<? extends Configuration>, Integer> searchForConfigurations(ListCfgsByCmd c);
107107

108108
/**
109-
* returns the the configuration groups
109+
* returns the configuration groups
110110
*
111111
* @return list of configuration groups
112112
*/

api/src/main/java/org/apache/cloudstack/api/command/user/vm/ListNicsCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class ListNicsCmd extends BaseListCmd {
5151
//////////////// API parameters /////////////////////
5252
/////////////////////////////////////////////////////
5353

54-
@Parameter(name = ApiConstants.NIC_ID, type = CommandType.UUID, entityType = NicResponse.class, required = false, description = "the ID of the nic to to list IPs")
54+
@Parameter(name = ApiConstants.NIC_ID, type = CommandType.UUID, entityType = NicResponse.class, required = false, description = "the ID of the nic to list IPs")
5555
private Long nicId;
5656

5757
@Parameter(name = ApiConstants.VIRTUAL_MACHINE_ID, type = CommandType.UUID, entityType = UserVmResponse.class, required = true, description = "the ID of the vm")

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
@@ -488,7 +488,7 @@ public class OVFHelperTest {
488488
" </Property>\n" +
489489
" <Property ovf:key=\"guestinfo.cis.db.servername\" ovf:type=\"string\" ovf:userConfigurable=\"false\" ovf:value=\"\">\n" +
490490
" <Label>Database Server</Label>\n" +
491-
" <Description>String naming the the hostname of the server on which the external database is running (ignored when db.type is &apos;embedded&apos;).</Description>\n" +
491+
" <Description>String naming the hostname of the server on which the external database is running (ignored when db.type is &apos;embedded&apos;).</Description>\n" +
492492
" </Property>\n" +
493493
" <Property ovf:key=\"guestinfo.cis.db.serverport\" ovf:type=\"string\" ovf:userConfigurable=\"false\" ovf:value=\"\">\n" +
494494
" <Label>Database Port</Label>\n" +

engine/components-api/src/main/java/com/cloud/event/UsageEventUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private static void publishUsageEvent(String usageEventType, Long accountId, Lon
240240
try {
241241
s_eventBus.publish(event);
242242
} catch (EventBusException e) {
243-
s_logger.warn("Failed to publish usage event on the the event bus.");
243+
s_logger.warn("Failed to publish usage event on the event bus.");
244244
}
245245
}
246246

engine/components-api/src/main/java/com/cloud/ha/HighAvailabilityManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public interface HighAvailabilityManager extends Manager {
5353
ConfigKey<Long> TimeBetweenCleanup = new ConfigKey<>("Advanced", Long.class,
5454
"time.between.cleanup", "86400", "The time in seconds to wait before the"
5555
+ " cleanup thread runs for the different HA-Worker-Threads. The cleanup thread finds all the work items "
56-
+ "that were successful and is now ready to be purged from the the database (table: op_ha_work).",
56+
+ "that were successful and is now ready to be purged from the database (table: op_ha_work).",
5757
true, Cluster);
5858

5959
ConfigKey<Integer> MaxRetries = new ConfigKey<>("Advanced", Integer.class, "max.retries",

engine/components-api/src/main/java/com/cloud/network/NetworkStateListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private void pubishOnEventBus(String event, String status, Network vo, State old
9494
try {
9595
s_eventBus.publish(eventMsg);
9696
} catch (EventBusException e) {
97-
s_logger.warn("Failed to publish state change event on the the event bus.");
97+
s_logger.warn("Failed to publish state change event on the event bus.");
9898
}
9999
}
100100

engine/components-api/src/main/java/com/cloud/storage/StorageUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ private Long getClusterId(Long hostId) {
7373
* With managed storage on XenServer and vSphere, CloudStack needs to use an iSCSI SR (XenServer) or datastore (vSphere) per CloudStack
7474
* volume. Since XenServer and vSphere are limited to the hundreds with regards to how many SRs or datastores can be leveraged per
7575
* compute cluster, this method is used to check a Global Setting (that specifies the maximum number of SRs or datastores per compute cluster)
76-
* against what is being requested. KVM does not apply here here because it does not suffer from the same scalability limits as XenServer and
76+
* against what is being requested. KVM does not apply here because it does not suffer from the same scalability limits as XenServer and
7777
* vSphere do. With XenServer and vSphere, each host is configured to see all the SRs/datastores of the cluster. With KVM, each host typically
7878
* is only configured to see the managed volumes of the VMs that are currently running on that host.
7979
*

engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2492,7 +2492,7 @@ && isDhcpAccrossMultipleSubnetsSupported(dhcpServiceProvider)) {
24922492
IPv6Address.class.getName(), null);
24932493
}
24942494

2495-
//remove the secondary ip addresses corresponding to to this nic
2495+
//remove the secondary ip addresses corresponding to this nic
24962496
if (!removeVmSecondaryIpsOfNic(nic.getId())) {
24972497
s_logger.debug("Removing nic " + nic.getId() + " secondary ip addresses failed");
24982498
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ private void updateUserStats(Connection conn) {
12041204
selectnonRemovedVms.setLong(2, dataCenterId);
12051205
try (ResultSet nonRemovedVms = selectnonRemovedVms.executeQuery();) {
12061206
if (nonRemovedVms.next()) {
1207-
s_logger.warn("Failed to find domR for for account id=" + accountId + " in zone id=" + dataCenterId +
1207+
s_logger.warn("Failed to find domR for account id=" + accountId + " in zone id=" + dataCenterId +
12081208
"; will try to locate domR based on user_vm info");
12091209
//try to get domR information from the user_vm belonging to the account
12101210
try (PreparedStatement selectNetworkType =

engine/schema/src/main/resources/META-INF/db/schema-21to22.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ CREATE TABLE `cloud`.`port_forwarding_rules` (
231231
`instance_id` bigint unsigned NOT NULL COMMENT 'vm instance id',
232232
`dest_ip_address` char(40) NOT NULL COMMENT 'id_address',
233233
`dest_port_start` int(10) NOT NULL COMMENT 'starting port of the port range to map to',
234-
`dest_port_end` int(10) NOT NULL COMMENT 'end port of the the port range to map to',
234+
`dest_port_end` int(10) NOT NULL COMMENT 'end port of the port range to map to',
235235
PRIMARY KEY (`id`),
236236
CONSTRAINT `fk_port_forwarding_rules__id` FOREIGN KEY(`id`) REFERENCES `firewall_rules`(`id`) ON DELETE CASCADE
237237
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

0 commit comments

Comments
 (0)