Skip to content

Commit 7d23a0a

Browse files
authored
Fix spelling (apache#6272)
1 parent 8a229ba commit 7d23a0a

File tree

50 files changed

+87
-87
lines changed

Some content is hidden

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

50 files changed

+87
-87
lines changed

agent/src/main/java/com/cloud/agent/Agent.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ public void sendStartup(final Link link) {
457457
try {
458458
link.send(request.toBytes());
459459
} catch (final ClosedChannelException e) {
460-
s_logger.warn("Unable to send reques: " + request.toString());
460+
s_logger.warn("Unable to send request: " + request.toString());
461461
}
462462
}
463463
}
@@ -467,7 +467,7 @@ protected void setupStartupCommand(final StartupCommand startup) {
467467
try {
468468
addr = InetAddress.getLocalHost();
469469
} catch (final UnknownHostException e) {
470-
s_logger.warn("unknow host? ", e);
470+
s_logger.warn("unknown host? ", e);
471471
throw new CloudRuntimeException("Cannot get local IP address");
472472
}
473473

@@ -954,7 +954,7 @@ private void postRequest(final Request request) throws AgentControlChannelExcept
954954
try {
955955
_link.send(request.toBytes());
956956
} catch (final ClosedChannelException e) {
957-
s_logger.warn("Unable to post agent control reques: " + request.toString());
957+
s_logger.warn("Unable to post agent control request: " + request.toString());
958958
throw new AgentControlChannelException("Unable to post agent control request due to " + e.getMessage());
959959
}
960960
} else {

agent/src/main/java/com/cloud/agent/AgentShell.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ public void init(String[] args) throws ConfigurationException {
362362

363363
s_logger.info("Agent started");
364364
} else {
365-
s_logger.error("Could not start the Agent because the absolut path of the \"log4j-cloud.xml\" file cannot be determined.");
365+
s_logger.error("Could not start the Agent because the absolute path of the \"log4j-cloud.xml\" file cannot be determined.");
366366
}
367367

368368
final Class<?> c = this.getClass();

api/src/main/java/com/cloud/agent/api/storage/OVFHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ OVFFile getFileDefinitionFromDiskDefinition(String fileRef, List<OVFFile> files)
521521
public List<OVFNetworkTO> getNetPrerequisitesFromDocument(Document doc) throws InternalErrorException {
522522
if (doc == null) {
523523
if (s_logger.isTraceEnabled()) {
524-
s_logger.trace("no document to parse; returning no prerequiste networks");
524+
s_logger.trace("no document to parse; returning no prerequisite networks");
525525
}
526526
return Collections.emptyList();
527527
}

api/src/main/java/com/cloud/network/lb/LoadBalancingRulesService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ LoadBalancer createPublicLoadBalancerRule(String xId, String name, String descri
6565
* @param cmd
6666
* the command specifying the stickiness method name, params (name,value pairs), policy name and
6767
* description.
68-
* @return the newly created stickiness policy if successfull, null otherwise
68+
* @return the newly created stickiness policy if successful, null otherwise
6969
* @thows NetworkRuleConflictException
7070
*/
7171
public StickinessPolicy createLBStickinessPolicy(CreateLBStickinessPolicyCmd cmd) throws NetworkRuleConflictException;
@@ -81,7 +81,7 @@ LoadBalancer createPublicLoadBalancerRule(String xId, String name, String descri
8181
* @param cmd
8282
* the command specifying the stickiness method name, params
8383
* (name,value pairs), policy name and description.
84-
* @return the newly created stickiness policy if successfull, null
84+
* @return the newly created stickiness policy if successful, null
8585
* otherwise
8686
* @thows NetworkRuleConflictException
8787
*/

api/src/main/java/com/cloud/storage/Volume.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ enum State {
5656
NotUploaded("The volume entry is just created in DB, not yet uploaded"),
5757
UploadInProgress("Volume upload is in progress"),
5858
UploadError("Volume upload encountered some error"),
59-
UploadAbandoned("Volume upload is abandoned since the upload was never initiated within a specificed time"),
59+
UploadAbandoned("Volume upload is abandoned since the upload was never initiated within a specified time"),
6060
Attaching("The volume is attaching to a VM from Ready state.");
6161

6262
String _description;

api/src/main/java/com/cloud/vm/UserVmService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ UserVm upgradeVirtualMachine(ScaleVMCmd cmd) throws ResourceUnavailableException
502502
String getVmUserData(long vmId);
503503

504504
/**
505-
* determin whether the uservm should be visible to the end user
505+
* determine whether the uservm should be visible to the end user
506506
* @return value of the display flag
507507
*/
508508
public boolean isDisplayResourceEnabled(Long vmId);

api/src/main/java/org/apache/cloudstack/api/command/admin/address/ReleasePodIpCmdByAdmin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public void execute() {
6969
boolean result = _networkService.releasePodIp(this);
7070
if (result) {
7171
SuccessResponse response = new SuccessResponse(getCommandName());
72-
response.setDisplayText("IP is released sucessfully");
72+
response.setDisplayText("IP is released successfully");
7373
setResponseObject(response);
7474
} else {
7575
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to release Pod ip ");

api/src/main/java/org/apache/cloudstack/api/command/admin/network/CreateStorageNetworkIpRangeCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class CreateStorageNetworkIpRangeCmd extends BaseAsyncCmd {
6464

6565
@Parameter(name = ApiConstants.VLAN,
6666
type = CommandType.INTEGER,
67-
description = "Optional. The vlan the ip range sits on, default to Null when it is not specificed which means you network is not on any Vlan. This is mainly for Vmware as other hypervisors can directly reterive bridge from pyhsical network traffic type table")
67+
description = "Optional. The vlan the ip range sits on, default to Null when it is not specified which means you network is not on any Vlan. This is mainly for Vmware as other hypervisors can directly reterive bridge from pyhsical network traffic type table")
6868
private Integer vlan;
6969

7070
@Parameter(name = ApiConstants.NETMASK, type = CommandType.STRING, required = true, description = "the netmask for storage network")

api/src/main/java/org/apache/cloudstack/api/command/user/account/AddUserToProjectCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public void execute() {
126126

127127
private void validateInput() {
128128
if (email == null && username == null) {
129-
throw new InvalidParameterValueException("Must specify atleast username");
129+
throw new InvalidParameterValueException("Must specify at least username");
130130
}
131131
if (email != null && username == null) {
132132
throw new InvalidParameterValueException("Must specify username for given email ID");

api/src/main/java/org/apache/cloudstack/api/command/user/job/QueryAsyncJobResultCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class QueryAsyncJobResultCmd extends BaseCmd {
3737
//////////////// API parameters /////////////////////
3838
/////////////////////////////////////////////////////
3939

40-
@Parameter(name = ApiConstants.JOB_ID, type = CommandType.UUID, entityType = AsyncJobResponse.class, required = true, description = "the ID of the asychronous job")
40+
@Parameter(name = ApiConstants.JOB_ID, type = CommandType.UUID, entityType = AsyncJobResponse.class, required = true, description = "the ID of the asynchronous job")
4141
private Long id;
4242

4343
/////////////////////////////////////////////////////

0 commit comments

Comments
 (0)