Skip to content

Commit 985be37

Browse files
jbamptonneogismm
authored andcommitted
Fix spelling (apache#6597)
1 parent e0b2321 commit 985be37

File tree

44 files changed

+59
-59
lines changed

Some content is hidden

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

44 files changed

+59
-59
lines changed

api/src/main/java/org/apache/cloudstack/api/BaseCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public void validateSpecificParameters(final Map<String, String> params){
381381
}
382382

383383
/**
384-
* display flag is used to control the display of the resource only to the end user. It doesnt affect Root Admin.
384+
* display flag is used to control the display of the resource only to the end user. It doesn't affect Root Admin.
385385
* @return display flag
386386
*/
387387
public boolean isDisplay(){

api/src/main/java/org/apache/cloudstack/api/command/user/snapshot/UpdateSnapshotPolicyCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public long getEntityOwnerId() {
9292
}
9393
Volume volume = _responseGenerator.findVolumeById(policy.getVolumeId());
9494
if (volume == null) {
95-
throw new InvalidParameterValueException("Snapshot policy's volume id doesnt exist");
95+
throw new InvalidParameterValueException("Snapshot policy's volume id doesn't exist");
9696
}else{
9797
return volume.getAccountId();
9898
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public Long getTemplateId() {
107107
return templateId;
108108
}
109109

110-
// TODO - Remove vmid param and make it "id" in 5.0 so that we dont have two getters
110+
// TODO - Remove vmid param and make it "id" in 5.0 so that we don't have two getters
111111
public Long getId() {
112112
return getVmId();
113113
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ private void setupPhysicalNetworks(Connection conn) {
286286
pstmt3.close();
287287

288288
// add the reference to this physical network for the default public network entries in vlan / user_ip_address tables
289-
// add first physicalNetworkId to op_dc_vnet_alloc for this zone - just a placeholder since direct networking dont need this
289+
// add first physicalNetworkId to op_dc_vnet_alloc for this zone - just a placeholder since direct networking don't need this
290290
if (isFirstPhysicalNtwk) {
291291
s_logger.debug("Adding PhysicalNetwork to default Public network entries in vlan and user_ip_address");
292292
pstmt3 = conn.prepareStatement("SELECT id FROM `cloud`.`networks` where traffic_type = 'Public' and data_center_id = " + zoneId);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void performDataMigration(Connection conn) {
7676

7777
private void addIndexForAlert(Connection conn) {
7878

79-
//First drop if it exists. (Due to patches shipped to customers some will have the index and some wont.)
79+
//First drop if it exists. (Due to patches shipped to customers some will have the index and some won't.)
8080
List<String> indexList = new ArrayList<String>();
8181
s_logger.debug("Dropping index i_alert__last_sent if it exists");
8282
indexList.add("i_alert__last_sent");
@@ -115,7 +115,7 @@ private void upgradeEIPNetworkOfferings(Connection conn) {
115115

116116
private void addIndexForHostDetails(Connection conn) {
117117

118-
//First drop if it exists. (Due to patches shipped to customers some will have the index and some wont.)
118+
//First drop if it exists. (Due to patches shipped to customers some will have the index and some won't.)
119119
List<String> indexList = new ArrayList<String>();
120120
s_logger.debug("Dropping index fk_host_details__host_id if it exists");
121121
indexList.add("fk_host_details__host_id");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ private void fixBaremetalForeignKeys(Connection conn) {
443443
}
444444

445445
private void addIndexForAlert(Connection conn) {
446-
//First drop if it exists. (Due to patches shipped to customers some will have the index and some wont.)
446+
//First drop if it exists. (Due to patches shipped to customers some will have the index and some won't.)
447447
List<String> indexList = new ArrayList<String>();
448448
s_logger.debug("Dropping index i_alert__last_sent if it exists");
449449
indexList.add("last_sent"); // in 4.1, we created this index that is not in convention.

engine/storage/src/main/java/org/apache/cloudstack/storage/endpoint/DefaultEndPointSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public EndPoint select(DataStore store, String downloadUrl){
388388
s_logger.debug("Received URISyntaxException for url" +downloadUrl);
389389
}
390390

391-
// If ssvm doesnt exist then find any ssvm in the zone.
391+
// If ssvm doesn't exist then find any ssvm in the zone.
392392
s_logger.debug("Coudn't find ssvm for url" +downloadUrl);
393393
return findEndpointForImageStorage(store);
394394
}

engine/storage/volume/src/main/java/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public AsyncCallFuture<VolumeApiResult> expungeVolumeAsync(VolumeInfo volume) {
357357
VolumeDataStoreVO volumeStore = _volumeStoreDao.findByVolume(volume.getId());
358358
if (volumeStore != null) {
359359
if (volumeStore.getDownloadState() == VMTemplateStorageResourceAssoc.Status.DOWNLOAD_IN_PROGRESS) {
360-
String msg = "Volume: " + volume.getName() + " is currently being uploaded; cant' delete it.";
360+
String msg = "Volume: " + volume.getName() + " is currently being uploaded; can't delete it.";
361361
s_logger.debug(msg);
362362
result.setSuccess(false);
363363
result.setResult(msg);

plugins/deployment-planners/user-concentrated-pod/src/main/java/com/cloud/deploy/UserConcentratedPodPlanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ protected List<Long> reorderPods(Pair<List<Long>, Map<Long, Double>> podCapacity
127127
//UserConcentratedPod strategy
128128
List<Long> podIds = listPodsByUserConcentration(plan.getDataCenterId(), accountId);
129129
if (!podIds.isEmpty()) {
130-
//remove pods that dont have capacity for this vm
130+
//remove pods that don't have capacity for this vm
131131
podIds.retainAll(podIdsByCapacity);
132132
podIdsByCapacity.removeAll(podIds);
133133
podIds.addAll(podIdsByCapacity);

plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public static void DownloadCifsFileToLocalFile(string filePathRelativeToShare, N
9191
dest = Utils.NormalizePath(dest);
9292
}
9393
// if the filePathRelativeToShare string don't have filename and only a dir point then find the vhd files in that folder and use
94-
// In the clean setup, first copy command wont be having the filename it contains onlyu dir path.
94+
// In the clean setup, first copy command won't be having the filename it contains onlyu dir path.
9595
// we need to scan the folder point and then copy the file to destination.
9696
else if (!filePathRelativeToShare.EndsWith(".vhd") || !filePathRelativeToShare.EndsWith(".vhdx"))
9797
{

0 commit comments

Comments
 (0)