From 8ed0e28e68d581fe6687caaca8c10c20d55d79d4 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Fri, 15 Jun 2012 17:30:35 -0700 Subject: [PATCH] Spelling corrections --- .../tools/ant/taskdefs/sshjava/SSHJava.java | 2 +- .../jclouds/tools/ant/util/SSHExecute.java | 2 +- .../domain/LoadBalancer.java | 2 +- .../config/CloudStackDateAdapter.java | 2 +- .../jclouds/cloudstack/domain/Snapshot.java | 2 +- .../cloudstack/domain/SnapshotPolicy.java | 2 +- .../cloudstack/domain/VirtualMachine.java | 2 +- .../cloudstack/features/FirewallClient.java | 2 +- .../cloudstack/features/TemplateClient.java | 2 +- .../options/CreateTemplateOptions.java | 2 +- .../options/ListFirewallRulesOptions.java | 2 +- .../ec2/compute/EC2ComputeService.java | 2 +- .../ec2/domain/BundleInstanceS3Storage.java | 2 +- .../ec2/options/RunInstancesOptions.java | 4 +-- .../org/jclouds/ec2/services/AMIClient.java | 2 +- .../jclouds/ec2/services/WindowsClient.java | 2 +- ...cribeAvailabilityZonesResponseHandler.java | 6 ++-- .../FilesystemStorageStrategyImpl.java | 2 +- ...sWithGroupEncodedIntoNameThenAddToSet.java | 10 +++---- .../openstack/nova/v2_0/domain/Server.java | 2 +- .../nova/v2_0/domain/SimpleServerUsage.java | 28 +++++++++---------- .../extensions/HostAggregateAsyncApi.java | 2 +- .../v2_0/extensions/SimpleTenantUsageApi.java | 4 +-- .../nova/v2_0/features/ServerApi.java | 2 +- .../openstack/swift/CommonSwiftClient.java | 2 +- .../vcloud/config/VCloudRestClientModule.java | 4 +-- .../vcloud/domain/network/DhcpService.java | 4 +-- .../jclouds/vcloud/features/VAppClient.java | 2 +- .../blobstore/options/ListOptions.java | 2 +- .../azure/storage/options/CreateOptions.java | 2 +- .../TerremarkVCloudRestClientModule.java | 4 +-- .../cim/ResourceAllocationSettingData.java | 4 +-- .../jclouds/cim/VirtualSystemSettingData.java | 4 +-- .../org/jclouds/compute/ComputeService.java | 2 +- .../events/InitScriptOnNodeSubmission.java | 2 +- .../events/StatementOnNodeSubmission.java | 2 +- .../compute/util/ComputeServiceUtils.java | 2 +- core/src/main/java/org/jclouds/Constants.java | 2 +- .../jclouds/cache/ForwardingCacheLoader.java | 2 +- .../jclouds/concurrent/DynamicExecutors.java | 4 +-- .../org/jclouds/lifecycle/BaseLifeCycle.java | 6 ++-- .../main/java/org/jclouds/logging/Logger.java | 2 +- .../jclouds/osgi/MetadataBundleListener.java | 2 +- .../validators/AllLowerCaseValidator.java | 2 +- .../org/jclouds/rest/annotations/Unwrap.java | 2 +- .../internal/RestAnnotationProcessor.java | 2 +- .../java/org/jclouds/util/Throwables2.java | 2 +- .../java/org/jclouds/blobstore/GetPath.java | 2 +- .../jclouds/azure/azurequeue/SpeedTest.java | 2 +- .../java/org/jclouds/aws/sqs/SpeedTest.java | 2 +- ...nlessXmlSchedulingDataProcessorPlugin.java | 2 +- ...nlessXmlSchedulingDataProcessorPlugin.java | 2 +- ...udDirectorComputeServiceContextModule.java | 2 +- .../cim/ResourceAllocationSettingData.java | 4 +-- .../dmtf/cim/VirtualSystemSettingData.java | 4 +-- .../java/org/jclouds/elb/domain/Listener.java | 2 +- .../jclouds/glesys/domain/ServerDetails.java | 2 +- .../ZoneIdToURIFromDatacentersApi.java | 6 ++-- .../vpdc/binders/BindVMSpecToXmlPayload.java | 2 +- .../vpdc/binders/BindVMSpecsToXmlPayload.java | 2 +- .../vpdc/domain/NetworkConnectionSection.java | 4 +-- .../jclouds/smartos/compute/domain/VmNIC.java | 2 +- .../SmartOSComputeServiceAdapter.java | 4 +-- .../v1_5/domain/CatalogReference.java | 2 +- .../director/v1_5/domain/RoleReference.java | 2 +- .../director/v1_5/domain/RoleReferences.java | 2 +- .../vcloud/director/v1_5/domain/Task.java | 2 +- .../director/v1_5/domain/VAppReference.java | 2 +- .../v1_5/domain/query/CatalogReferences.java | 2 +- .../query/QueryResultAdminVdcRecord.java | 2 +- .../v1_5/domain/query/VAppReferences.java | 2 +- .../director/v1_5/features/MetadataApi.java | 2 +- .../functions/BridgedIfStringToBridgedIf.java | 14 +++++----- .../functions/IMachineToSshClient.java | 4 +-- .../functions/IMachineToVmSpec.java | 8 +++--- .../virtualbox/functions/NodeCreator.java | 6 ++-- .../TakeSnapshotIfNotAlreadyAttached.java | 4 +-- .../statements/InstallGuestAdditions.java | 2 +- .../jclouds/virtualbox/util/MachineUtils.java | 2 +- .../ec2/compute/suppliers/CallForImages.java | 4 +-- .../GoGridComputeServiceContextModule.java | 2 +- ...udObjectStorageBlobStoreContextModule.java | 6 ++-- .../functions/EnableCDNAndCache.java | 8 +++--- .../options/CreateContainerOptions.java | 2 +- .../rimuhosting/miro/data/CloneOptions.java | 2 +- .../rimuhosting/miro/data/NewServerData.java | 2 +- .../rimuhosting/miro/domain/BillingData.java | 2 +- .../rimuhosting/miro/domain/ResizeResult.java | 2 +- .../softlayer/domain/VirtualGuest.java | 2 +- .../TerremarkECloudRestClientModule.java | 2 +- .../sdn/filters/AddSessionTokenToRequest.java | 2 +- .../ibm/smartcloud/IBMSmartCloudClient.java | 2 +- .../options/CreateInstanceOptions.java | 2 +- 93 files changed, 147 insertions(+), 147 deletions(-) diff --git a/antcontrib/src/main/java/org/jclouds/tools/ant/taskdefs/sshjava/SSHJava.java b/antcontrib/src/main/java/org/jclouds/tools/ant/taskdefs/sshjava/SSHJava.java index c68bf43b3c..54a071078b 100644 --- a/antcontrib/src/main/java/org/jclouds/tools/ant/taskdefs/sshjava/SSHJava.java +++ b/antcontrib/src/main/java/org/jclouds/tools/ant/taskdefs/sshjava/SSHJava.java @@ -393,7 +393,7 @@ public class SSHJava extends Java { } /** - * All files transfered to the host will be relative to this. The java process itself will be at + * All files transferred to the host will be relative to this. The java process itself will be at * this path/{@code id}. */ public void setRemotebase(File remotebase) { diff --git a/antcontrib/src/main/java/org/jclouds/tools/ant/util/SSHExecute.java b/antcontrib/src/main/java/org/jclouds/tools/ant/util/SSHExecute.java index c99f5850b1..b469f01d2e 100644 --- a/antcontrib/src/main/java/org/jclouds/tools/ant/util/SSHExecute.java +++ b/antcontrib/src/main/java/org/jclouds/tools/ant/util/SSHExecute.java @@ -227,7 +227,7 @@ public class SSHExecute { } /** - * Open an ssh seession. + * Open an ssh session. * * @return the opened session * @throws JSchException diff --git a/apis/cloudloadbalancers/src/main/java/org/jclouds/cloudloadbalancers/domain/LoadBalancer.java b/apis/cloudloadbalancers/src/main/java/org/jclouds/cloudloadbalancers/domain/LoadBalancer.java index 32ef3908c7..6b045a85aa 100644 --- a/apis/cloudloadbalancers/src/main/java/org/jclouds/cloudloadbalancers/domain/LoadBalancer.java +++ b/apis/cloudloadbalancers/src/main/java/org/jclouds/cloudloadbalancers/domain/LoadBalancer.java @@ -167,7 +167,7 @@ public class LoadBalancer extends BaseLoadBalancer { * configuration change or update, the status of the load balancer will change to PENDING_UPDATE * to signify configuration changes are in progress but have not yet been finalized. Load * balancers in a SUSPENDED status are configured to reject traffic and will not forward requests - * to back-end nodess. + * to back-end nodes. */ public static enum Status { /** diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/config/CloudStackDateAdapter.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/config/CloudStackDateAdapter.java index c44c5874f8..e0bc79b1d9 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/config/CloudStackDateAdapter.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/config/CloudStackDateAdapter.java @@ -32,7 +32,7 @@ import com.google.gson.stream.JsonReader; * Data adapter for the date formats used by CloudStack. * * Essentially this is a workaround for the CloudStack getUsage() API call returning a - * corrupted formn of ISO-8601 dates, which have an unexpected pair of apostrophes, like + * corrupted form of ISO-8601 dates, which have an unexpected pair of apostrophes, like * 2011-12-12'T'00:00:00+00:00 * * @author Richard Downer diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/Snapshot.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/Snapshot.java index 546b8492fb..5d832438d7 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/Snapshot.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/Snapshot.java @@ -333,7 +333,7 @@ public class Snapshot { } /** - * @return valid types are hourly, daily, weekly, monthy, template, and none. + * @return valid types are hourly, daily, weekly, monthly, template, and none. */ @Nullable public Snapshot.Interval getInterval() { diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/SnapshotPolicy.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/SnapshotPolicy.java index 28c2a040da..d01d0390c7 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/SnapshotPolicy.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/SnapshotPolicy.java @@ -150,7 +150,7 @@ public class SnapshotPolicy { } /** - * @return valid types are hourly, daily, weekly, monthy, template, and none. + * @return valid types are hourly, daily, weekly, monthly, template, and none. */ @Nullable public Snapshot.Interval getInterval() { diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/VirtualMachine.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/VirtualMachine.java index 5e5fee9a57..c15ff744b9 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/VirtualMachine.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/domain/VirtualMachine.java @@ -940,7 +940,7 @@ public class VirtualMachine { } /** - * @return the ID of the availablility zone for the virtual machine + * @return the ID of the availability zone for the virtual machine */ @Nullable public String getZoneId() { diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/FirewallClient.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/FirewallClient.java index e1d25031e8..3e530a6376 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/FirewallClient.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/FirewallClient.java @@ -95,7 +95,7 @@ public interface FirewallClient { * @param options * if present, how to constrain the list. * @return PortForwardingRules matching query, or empty set, if no - * PortForwardingRulees are found + * PortForwardingRules are found */ Set listPortForwardingRules(ListPortForwardingRulesOptions... options); diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/TemplateClient.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/TemplateClient.java index abd215c8de..cce3c49f95 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/TemplateClient.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/TemplateClient.java @@ -170,7 +170,7 @@ public interface TemplateClient { /** * Updates a template visibility permissions. A public template is visible to * all accounts within the same domain. A private template is visible only to - * the owner of the template. A priviledged template is a private template + * the owner of the template. A privileged template is a private template * with account permissions added. Only accounts specified under the template * permissions are visible to them. * diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/options/CreateTemplateOptions.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/options/CreateTemplateOptions.java index 4cfcbe0d16..5b1c5397af 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/options/CreateTemplateOptions.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/options/CreateTemplateOptions.java @@ -67,7 +67,7 @@ public class CreateTemplateOptions extends BaseHttpRequestOptions { } /** - * true if the template requres HVM, false otherwise + * true if the template requires HVM, false otherwise */ public CreateTemplateOptions requiresHVM(boolean requiresHVM) { this.queryParameters.replaceValues("requireshvm", ImmutableSet.of(requiresHVM + "")); diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/options/ListFirewallRulesOptions.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/options/ListFirewallRulesOptions.java index c639545779..1deee14a96 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/options/ListFirewallRulesOptions.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/options/ListFirewallRulesOptions.java @@ -43,7 +43,7 @@ public class ListFirewallRulesOptions extends AccountInDomainOptions { /** * @param ipAddressId - * the id of IP address of the firwall services + * the id of IP address of the firewall services */ public ListFirewallRulesOptions ipAddressId(String ipAddressId) { this.queryParameters.replaceValues("ipaddressid", ImmutableSet.of(ipAddressId + "")); diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/compute/EC2ComputeService.java b/apis/ec2/src/main/java/org/jclouds/ec2/compute/EC2ComputeService.java index ef75d913fc..fd286b344b 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/compute/EC2ComputeService.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/compute/EC2ComputeService.java @@ -223,7 +223,7 @@ public class EC2ComputeService extends BaseComputeService { // resources existing. // Also in #445, in aws-ec2 the deleteSecurityGroup sometimes fails after terminating the final VM using a - // given security group, if called very soon after the VM's state reports terminated. Emprically, it seems that + // given security group, if called very soon after the VM's state reports terminated. Empirically, it seems that // waiting a small time (e.g. enabling logging or debugging!) then the tests pass. We therefore retry. final int maxAttempts = 3; Retryables.retryNumTimes(new Predicate() { diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/domain/BundleInstanceS3Storage.java b/apis/ec2/src/main/java/org/jclouds/ec2/domain/BundleInstanceS3Storage.java index 77ada3fe5c..b2776439e7 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/domain/BundleInstanceS3Storage.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/domain/BundleInstanceS3Storage.java @@ -103,7 +103,7 @@ public class BundleInstanceS3Storage { @Override public String toString() { - return "[ccessKeyId=" + ccessKeyId + ", bucket=" + bucket + ", prefix=" + prefix + ", secreAccessKey=" + return "[ccessKeyId=" + ccessKeyId + ", bucket=" + bucket + ", prefix=" + prefix + ", secretAccessKey=" + secretAccessKey + ", uploadPolicy=" + uploadPolicy + ", uploadPolicySignature=" + uploadPolicySignature + "]"; } diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/options/RunInstancesOptions.java b/apis/ec2/src/main/java/org/jclouds/ec2/options/RunInstancesOptions.java index b75f6a714f..3c4b9ee4ee 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/options/RunInstancesOptions.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/options/RunInstancesOptions.java @@ -112,8 +112,8 @@ public class RunInstancesOptions extends BaseEC2RequestOptions { /** * The ID of the RAM disk with which to launch the instance. Some kernels require additional - * drivers at l aunch. Check the kernel requirements for information on whether you need to - * specify a RAM disk. To find kernel requirements, go to th e Resource Center and search for the + * drivers at launch. Check the kernel requirements for information on whether you need to + * specify a RAM disk. To find kernel requirements, go to the Resource Center and search for the * kernel ID. */ public RunInstancesOptions withRamdisk(String ramDiskId) { diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/services/AMIClient.java b/apis/ec2/src/main/java/org/jclouds/ec2/services/AMIClient.java index 43717b91bf..fe2d2cb208 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/services/AMIClient.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/services/AMIClient.java @@ -43,7 +43,7 @@ public interface AMIClient { /** * Returns information about AMIs, AKIs, and ARIs. This includes image type, product codes, - * architecture, and kernel and RAM disk IDs. Images available to you include p ublic images, + * architecture, and kernel and RAM disk IDs. Images available to you include public images, * private images that you own, and private images owned by other users for which you have * explicit launch permissions. * diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/services/WindowsClient.java b/apis/ec2/src/main/java/org/jclouds/ec2/services/WindowsClient.java index 86bd7cb136..acb371ab58 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/services/WindowsClient.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/services/WindowsClient.java @@ -53,7 +53,7 @@ public interface WindowsClient { * @param bucket * The bucket in which to store the AMI. You can specify a bucket * that you already own or a new bucket that Amazon EC2 creates on - * your behalf. If you specify a bucket that belongs to som eone + * your behalf. If you specify a bucket that belongs to someone * else, Amazon EC2 returns an error. * @param uploadPolicy * An Amazon S3 upload policy that gives Amazon EC2 permission to diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/xml/DescribeAvailabilityZonesResponseHandler.java b/apis/ec2/src/main/java/org/jclouds/ec2/xml/DescribeAvailabilityZonesResponseHandler.java index b19dcd224f..a931531c60 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/xml/DescribeAvailabilityZonesResponseHandler.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/xml/DescribeAvailabilityZonesResponseHandler.java @@ -40,7 +40,7 @@ public class DescribeAvailabilityZonesResponseHandler extends ParseSax.HandlerWi private StringBuilder currentText = new StringBuilder(); private final Supplier defaultRegion; - private Set availablilityZones = Sets.newLinkedHashSet(); + private Set availabilityZones = Sets.newLinkedHashSet(); private String zone; @Resource protected Logger logger = Logger.NULL; @@ -63,7 +63,7 @@ public class DescribeAvailabilityZonesResponseHandler extends ParseSax.HandlerWi } public Set getResult() { - return availablilityZones; + return availabilityZones; } public void startElement(String uri, String name, String qName, Attributes attrs) { @@ -89,7 +89,7 @@ public class DescribeAvailabilityZonesResponseHandler extends ParseSax.HandlerWi } else if (qName.equals("messageSet")) { inMessageSet = false; } else if (qName.equals("item") && !inMessageSet) { - availablilityZones.add(new AvailabilityZoneInfo(zone, zoneState, region, messages)); + availabilityZones.add(new AvailabilityZoneInfo(zone, zoneState, region, messages)); this.zone = null; this.region = defaultRegion.get(); this.zoneState = null; diff --git a/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java b/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java index d37755c93b..2158c3dce4 100644 --- a/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java +++ b/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java @@ -233,7 +233,7 @@ public class FilesystemStorageStrategyImpl implements LocalStorageStrategy { File fileToBeDeleted = new File(fileName); fileToBeDeleted.delete(); - // now examins if the key of the blob is a complex key (with a directory structure) + // now examine if the key of the blob is a complex key (with a directory structure) // and eventually remove empty directory removeDirectoriesTreeOfBlobKey(container, blobKey); } diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/compute/strategy/ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/compute/strategy/ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet.java index 41ec84f109..4958740560 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/compute/strategy/ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/compute/strategy/ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet.java @@ -107,16 +107,16 @@ public class ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddT templateOptions); } - boolean keyPairExensionPresent = novaApi.getKeyPairExtensionForZone(zone).isPresent(); + boolean keyPairExtensionPresent = novaApi.getKeyPairExtensionForZone(zone).isPresent(); if (templateOptions.shouldGenerateKeyPair()) { - checkArgument(keyPairExensionPresent, + checkArgument(keyPairExtensionPresent, "Key Pairs are required by options, but the extension is not available! options: %s", templateOptions); KeyPair keyPair = keyPairCache.getUnchecked(ZoneAndName.fromZoneAndName(zone, namingConvention.create() .sharedNameForGroup(group))); keyPairCache.asMap().put(ZoneAndName.fromZoneAndName(zone, keyPair.getName()), keyPair); templateOptions.keyPairName(keyPair.getName()); } else if (templateOptions.getKeyPairName() != null) { - checkArgument(keyPairExensionPresent, + checkArgument(keyPairExtensionPresent, "Key Pairs are required by options, but the extension is not available! options: %s", templateOptions); if (templateOptions.getLoginPrivateKey() != null) { String pem = templateOptions.getLoginPrivateKey(); @@ -126,13 +126,13 @@ public class ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddT } } - boolean securityGroupExensionPresent = novaApi.getSecurityGroupExtensionForZone(zone).isPresent(); + boolean securityGroupExtensionPresent = novaApi.getSecurityGroupExtensionForZone(zone).isPresent(); List inboundPorts = Ints.asList(templateOptions.getInboundPorts()); if (templateOptions.getSecurityGroupNames().size() > 0) { checkArgument(novaApi.getSecurityGroupExtensionForZone(zone).isPresent(), "Security groups are required by options, but the extension is not available! options: %s", templateOptions); - } else if (securityGroupExensionPresent && inboundPorts.size() > 0) { + } else if (securityGroupExtensionPresent && inboundPorts.size() > 0) { String securityGroupName = namingConvention.create().sharedNameForGroup(group); try { securityGroupCache.get(new ZoneSecurityGroupNameAndPorts(zone, securityGroupName, inboundPorts)); diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/Server.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/Server.java index 300e025dfc..187165dfa0 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/Server.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/Server.java @@ -411,7 +411,7 @@ public class Server extends Resource { } /** - * @return keyName if extension is present and there is a valur for this server + * @return keyName if extension is present and there is a value for this server * @see KeyPairApi */ @Nullable diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/SimpleServerUsage.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/SimpleServerUsage.java index f2a95aa3da..792dcd4a60 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/SimpleServerUsage.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/SimpleServerUsage.java @@ -76,7 +76,7 @@ public class SimpleServerUsage { protected String tenantId; protected String flavorName; protected Date instanceCreated; - protected Date instanceTerminiated; + protected Date instanceTerminated; protected SimpleServerUsage.Status instanceStatus; protected long uptime; @@ -145,10 +145,10 @@ public class SimpleServerUsage { } /** - * @see SimpleServerUsage#getInstanceTerminiated() + * @see SimpleServerUsage#getInstanceTerminated() */ - public T instanceTerminiated(Date instanceTerminiated) { - this.instanceTerminiated = instanceTerminiated; + public T instanceTerminated(Date instanceTerminated) { + this.instanceTerminated = instanceTerminated; return self(); } @@ -169,7 +169,7 @@ public class SimpleServerUsage { } public SimpleServerUsage build() { - return new SimpleServerUsage(instanceName, hours, flavorMemoryMb, flavorLocalGb, flavorVcpus, tenantId, flavorName, instanceCreated, instanceTerminiated, instanceStatus, uptime); + return new SimpleServerUsage(instanceName, hours, flavorMemoryMb, flavorLocalGb, flavorVcpus, tenantId, flavorName, instanceCreated, instanceTerminated, instanceStatus, uptime); } public T fromSimpleServerUsage(SimpleServerUsage in) { @@ -182,7 +182,7 @@ public class SimpleServerUsage { .tenantId(in.getTenantId()) .flavorName(in.getFlavorName()) .instanceCreated(in.getInstanceCreated()) - .instanceTerminiated(in.getInstanceTerminiated()) + .instanceTerminated(in.getInstanceTerminated()) .instanceStatus(in.getInstanceStatus()) .uptime(in.getUptime()); } @@ -211,7 +211,7 @@ public class SimpleServerUsage { @Named("started_at") private final Date instanceCreated; @Named("ended_at") - private final Date instanceTerminiated; + private final Date instanceTerminated; @Named("state") private final SimpleServerUsage.Status instanceStatus; private final long uptime; @@ -219,7 +219,7 @@ public class SimpleServerUsage { @ConstructorProperties({ "name", "hours", "memory_mb", "local_gb", "vcpus", "tenant_id", "flavor", "started_at", "ended_at", "state", "uptime" }) - protected SimpleServerUsage(String instanceName, double hours, double flavorMemoryMb, double flavorLocalGb, double flavorVcpus, String tenantId, String flavorName, Date instanceCreated, @Nullable Date instanceTerminiated, SimpleServerUsage.Status instanceStatus, long uptime) { + protected SimpleServerUsage(String instanceName, double hours, double flavorMemoryMb, double flavorLocalGb, double flavorVcpus, String tenantId, String flavorName, Date instanceCreated, @Nullable Date instanceTerminated, SimpleServerUsage.Status instanceStatus, long uptime) { this.instanceName = checkNotNull(instanceName, "instanceName"); this.hours = hours; this.flavorMemoryMb = flavorMemoryMb; @@ -228,7 +228,7 @@ public class SimpleServerUsage { this.tenantId = checkNotNull(tenantId, "tenantId"); this.flavorName = checkNotNull(flavorName, "flavorName"); this.instanceCreated = checkNotNull(instanceCreated, "instanceCreated"); - this.instanceTerminiated = instanceTerminiated; + this.instanceTerminated = instanceTerminated; this.instanceStatus = checkNotNull(instanceStatus, "instanceStatus"); this.uptime = uptime; } @@ -266,8 +266,8 @@ public class SimpleServerUsage { } @Nullable - public Date getInstanceTerminiated() { - return this.instanceTerminiated; + public Date getInstanceTerminated() { + return this.instanceTerminated; } public SimpleServerUsage.Status getInstanceStatus() { @@ -280,7 +280,7 @@ public class SimpleServerUsage { @Override public int hashCode() { - return Objects.hashCode(instanceName, hours, flavorMemoryMb, flavorLocalGb, flavorVcpus, tenantId, flavorName, instanceCreated, instanceTerminiated, instanceStatus, uptime); + return Objects.hashCode(instanceName, hours, flavorMemoryMb, flavorLocalGb, flavorVcpus, tenantId, flavorName, instanceCreated, instanceTerminated, instanceStatus, uptime); } @Override @@ -296,14 +296,14 @@ public class SimpleServerUsage { && Objects.equal(this.tenantId, that.tenantId) && Objects.equal(this.flavorName, that.flavorName) && Objects.equal(this.instanceCreated, that.instanceCreated) - && Objects.equal(this.instanceTerminiated, that.instanceTerminiated) + && Objects.equal(this.instanceTerminated, that.instanceTerminated) && Objects.equal(this.instanceStatus, that.instanceStatus) && Objects.equal(this.uptime, that.uptime); } protected ToStringHelper string() { return Objects.toStringHelper(this) - .add("instanceName", instanceName).add("hours", hours).add("flavorMemoryMb", flavorMemoryMb).add("flavorLocalGb", flavorLocalGb).add("flavorVcpus", flavorVcpus).add("tenantId", tenantId).add("flavorName", flavorName).add("instanceCreated", instanceCreated).add("instanceTerminiated", instanceTerminiated).add("instanceStatus", instanceStatus).add("uptime", uptime); + .add("instanceName", instanceName).add("hours", hours).add("flavorMemoryMb", flavorMemoryMb).add("flavorLocalGb", flavorLocalGb).add("flavorVcpus", flavorVcpus).add("tenantId", tenantId).add("flavorName", flavorName).add("instanceCreated", instanceCreated).add("instanceTerminated", instanceTerminated).add("instanceStatus", instanceStatus).add("uptime", uptime); } @Override diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/HostAggregateAsyncApi.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/HostAggregateAsyncApi.java index af3a00005e..1ea494c756 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/HostAggregateAsyncApi.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/HostAggregateAsyncApi.java @@ -87,7 +87,7 @@ public interface HostAggregateAsyncApi { @Produces(MediaType.APPLICATION_JSON) @WrapWith("aggregate") ListenableFuture createAggregate(@PayloadParam("name") String name, - @PayloadParam("availability_zone") String availablityZone); + @PayloadParam("availability_zone") String availabilityZone); /** * @see HostAggregateApi#updateName diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SimpleTenantUsageApi.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SimpleTenantUsageApi.java index 4f1955d641..eaddaea95a 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SimpleTenantUsageApi.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SimpleTenantUsageApi.java @@ -38,14 +38,14 @@ import org.jclouds.openstack.v2_0.services.Extension; public interface SimpleTenantUsageApi { /** - * Retrive tenant_usage for all tenants + * Retrieve tenant_usage for all tenants * * @return the set of TenantUsage reports */ Set listTenantUsages(); /** - * Retrive tenant_usage for a specified tenant + * Retrieve tenant_usage for a specified tenant * * @return the requested tenant usage */ diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/features/ServerApi.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/features/ServerApi.java index 03a663b3d5..7d73f50349 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/features/ServerApi.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/features/ServerApi.java @@ -150,7 +150,7 @@ public interface ServerApi { * @param id * id of the server * @param options - * Optional paramaters to the rebuilding operation. + * Optional parameters to the rebuilding operation. */ void rebuildServer(String id, RebuildServerOptions... options); diff --git a/apis/swift/src/main/java/org/jclouds/openstack/swift/CommonSwiftClient.java b/apis/swift/src/main/java/org/jclouds/openstack/swift/CommonSwiftClient.java index e325aef6de..4f691a58bd 100644 --- a/apis/swift/src/main/java/org/jclouds/openstack/swift/CommonSwiftClient.java +++ b/apis/swift/src/main/java/org/jclouds/openstack/swift/CommonSwiftClient.java @@ -65,7 +65,7 @@ public interface CommonSwiftClient { * are supported with this request. *
    *
  • limit - For an integer value N, limits the number of results to at most N values.
  • - *
  • marker - Given a string value X, return Object names greater in value than the specied + *
  • marker - Given a string value X, return Object names greater in value than the specified * marker.
  • *
  • format - Specify either json or xml to return the respective serialized response.
  • *
diff --git a/apis/vcloud/src/main/java/org/jclouds/vcloud/config/VCloudRestClientModule.java b/apis/vcloud/src/main/java/org/jclouds/vcloud/config/VCloudRestClientModule.java index 3651bc274c..f782f667aa 100644 --- a/apis/vcloud/src/main/java/org/jclouds/vcloud/config/VCloudRestClientModule.java +++ b/apis/vcloud/src/main/java/org/jclouds/vcloud/config/VCloudRestClientModule.java @@ -223,7 +223,7 @@ public class VCloudRestClientModule extends RestClientModule> provideVDCtoORG(Supplier> orgNameToOrgSuppier) { + protected Supplier> provideVDCtoORG(Supplier> orgNameToOrgSupplier) { return Suppliers2.compose(new Function, Map>() { @Override @@ -236,7 +236,7 @@ public class VCloudRestClientModule extends RestClientModule * AzureQueueClient connection = // get connection * Multimap metadata = // ... - * boolean createdWithPublicAcl = connection.createQueue("containerName", withMetdata(metadata)); + * boolean createdWithPublicAcl = connection.createQueue("containerName", withMetadata(metadata)); * * * * @see diff --git a/common/trmk/src/main/java/org/jclouds/trmk/vcloud_0_8/config/TerremarkVCloudRestClientModule.java b/common/trmk/src/main/java/org/jclouds/trmk/vcloud_0_8/config/TerremarkVCloudRestClientModule.java index 0a5e86b4d0..168fdb577f 100644 --- a/common/trmk/src/main/java/org/jclouds/trmk/vcloud_0_8/config/TerremarkVCloudRestClientModule.java +++ b/common/trmk/src/main/java/org/jclouds/trmk/vcloud_0_8/config/TerremarkVCloudRestClientModule.java @@ -142,7 +142,7 @@ public class TerremarkVCloudRestClientModule extends RestClientModule> provideVDCtoORG( - Supplier> orgNameToOrgSuppier) { + Supplier> orgNameToOrgSupplier) { return Suppliers2.compose( new Function, Map>() { @@ -156,7 +156,7 @@ public class TerremarkVCloudRestClientModule extends RestClientModulenote * diff --git a/compute/src/main/java/org/jclouds/compute/events/InitScriptOnNodeSubmission.java b/compute/src/main/java/org/jclouds/compute/events/InitScriptOnNodeSubmission.java index e80c31b0d6..dad3402129 100644 --- a/compute/src/main/java/org/jclouds/compute/events/InitScriptOnNodeSubmission.java +++ b/compute/src/main/java/org/jclouds/compute/events/InitScriptOnNodeSubmission.java @@ -24,7 +24,7 @@ import org.jclouds.scriptbuilder.InitScript; import com.google.common.annotations.Beta; /** - * An init script was submitted to a node for exectuion. + * An init script was submitted to a node for execution. *

* Note this does not guarantee that there was success, nor that the init script started. * diff --git a/compute/src/main/java/org/jclouds/compute/events/StatementOnNodeSubmission.java b/compute/src/main/java/org/jclouds/compute/events/StatementOnNodeSubmission.java index add0af9a9d..b1124be2dd 100644 --- a/compute/src/main/java/org/jclouds/compute/events/StatementOnNodeSubmission.java +++ b/compute/src/main/java/org/jclouds/compute/events/StatementOnNodeSubmission.java @@ -24,7 +24,7 @@ import org.jclouds.scriptbuilder.domain.Statement; import com.google.common.annotations.Beta; /** - * A statement was submitted to a node for exectuion. + * A statement was submitted to a node for execution. *

* Note this does not guarantee that there was success, nor that the node * received the statement. diff --git a/compute/src/main/java/org/jclouds/compute/util/ComputeServiceUtils.java b/compute/src/main/java/org/jclouds/compute/util/ComputeServiceUtils.java index e4f6d3d8f6..fa2bb1e89c 100644 --- a/compute/src/main/java/org/jclouds/compute/util/ComputeServiceUtils.java +++ b/compute/src/main/java/org/jclouds/compute/util/ComputeServiceUtils.java @@ -69,7 +69,7 @@ public class ComputeServiceUtils { return String.format("%s[%s]", resource.getStatus(), resource.getBackendStatus()); } - public static final Pattern DELIMETED_BY_HYPHEN_ENDING_IN_HYPHEN_HEX = Pattern.compile("(.+)-[0-9a-f]+"); + public static final Pattern DELIMITED_BY_HYPHEN_ENDING_IN_HYPHEN_HEX = Pattern.compile("(.+)-[0-9a-f]+"); /** * build a shell script that invokes the contents of the http request in bash. diff --git a/core/src/main/java/org/jclouds/Constants.java b/core/src/main/java/org/jclouds/Constants.java index 753d96a11a..fdef289163 100644 --- a/core/src/main/java/org/jclouds/Constants.java +++ b/core/src/main/java/org/jclouds/Constants.java @@ -160,7 +160,7 @@ public interface Constants { /** * Boolean property. *

- * allow mismatch between hostname and ssl cerificate. Set to true in DNS_based services like + * allow mismatch between hostname and ssl certificate. Set to true in DNS_based services like * Amazon S3. */ public static final String PROPERTY_RELAX_HOSTNAME = "jclouds.relax-hostname"; diff --git a/core/src/main/java/org/jclouds/cache/ForwardingCacheLoader.java b/core/src/main/java/org/jclouds/cache/ForwardingCacheLoader.java index 18c203274f..08321c33cf 100644 --- a/core/src/main/java/org/jclouds/cache/ForwardingCacheLoader.java +++ b/core/src/main/java/org/jclouds/cache/ForwardingCacheLoader.java @@ -59,7 +59,7 @@ public abstract class ForwardingCacheLoader extends CacheLoader { /** * A simplified version of {@link ForwardingCacheLoader} where subclasses can pass in an already - * constructed {@link CacheLoader} as the delegete. + * constructed {@link CacheLoader} as the delegate. * */ @Beta diff --git a/core/src/main/java/org/jclouds/concurrent/DynamicExecutors.java b/core/src/main/java/org/jclouds/concurrent/DynamicExecutors.java index 811d32bc0d..0f8c9bc2d1 100644 --- a/core/src/main/java/org/jclouds/concurrent/DynamicExecutors.java +++ b/core/src/main/java/org/jclouds/concurrent/DynamicExecutors.java @@ -140,7 +140,7 @@ public class DynamicExecutors { * A priority based thread factory, for all Thread priority constants: * Thread.MIN_PRIORITY, Thread.NORM_PRIORITY, Thread.MAX_PRIORITY; *

- * This factory is used instead of Executers.DefaultThreadFactory to allow manipulation of + * This factory is used instead of Executors.DefaultThreadFactory to allow manipulation of * priority and thread owner name. * * @param namePrefix @@ -173,7 +173,7 @@ public class DynamicExecutors { * A priority based thread factory, for all Thread priority constants: * Thread.MIN_PRIORITY, Thread.NORM_PRIORITY, Thread.MAX_PRIORITY; *

- * This factory is used instead of Executers.DefaultThreadFactory to allow manipulation of + * This factory is used instead of Executors.DefaultThreadFactory to allow manipulation of * priority and thread owner name. * * @param priority diff --git a/core/src/main/java/org/jclouds/lifecycle/BaseLifeCycle.java b/core/src/main/java/org/jclouds/lifecycle/BaseLifeCycle.java index 9ad62387c4..af00d328ad 100644 --- a/core/src/main/java/org/jclouds/lifecycle/BaseLifeCycle.java +++ b/core/src/main/java/org/jclouds/lifecycle/BaseLifeCycle.java @@ -86,7 +86,7 @@ public abstract class BaseLifeCycle implements Runnable, LifeCycle { */ protected boolean shouldDoWork() { try { - exceptionIfDepedenciesNotActive(); + exceptionIfDependenciesNotActive(); } catch (IllegalStateException e) { return false; } @@ -112,14 +112,14 @@ public abstract class BaseLifeCycle implements Runnable, LifeCycle { throw new IllegalStateException("Illegal state: " + this.status); } - exceptionIfDepedenciesNotActive(); + exceptionIfDependenciesNotActive(); this.status = Status.ACTIVE; } executorService.execute(this); } - protected void exceptionIfDepedenciesNotActive() { + protected void exceptionIfDependenciesNotActive() { for (LifeCycle dependency : dependencies) { if (dependency.getStatus().compareTo(Status.ACTIVE) != 0) { throw new IllegalStateException(String.format("Illegal state: %s for component: %s", diff --git a/core/src/main/java/org/jclouds/logging/Logger.java b/core/src/main/java/org/jclouds/logging/Logger.java index 54d3637300..8666616f84 100644 --- a/core/src/main/java/org/jclouds/logging/Logger.java +++ b/core/src/main/java/org/jclouds/logging/Logger.java @@ -19,7 +19,7 @@ package org.jclouds.logging; /** - * JCloud log abstraction layer. + * JClouds log abstraction layer. *

* Implementations of logging are optional and injected if they are configured. *

diff --git a/core/src/main/java/org/jclouds/osgi/MetadataBundleListener.java b/core/src/main/java/org/jclouds/osgi/MetadataBundleListener.java index 75d9886172..5ce59c5e05 100644 --- a/core/src/main/java/org/jclouds/osgi/MetadataBundleListener.java +++ b/core/src/main/java/org/jclouds/osgi/MetadataBundleListener.java @@ -35,7 +35,7 @@ import java.util.HashMap; import java.util.Map; /** - * A {@link BundleListener} that listens for {@link BundleEvent} and searches for {@link org.jclouds.providers.ProviderMetadata} and {@ling org.jclouds.apis.ApiMetadata} in newly + * A {@link BundleListener} that listens for {@link BundleEvent} and searches for {@link org.jclouds.providers.ProviderMetadata} and {@link org.jclouds.apis.ApiMetadata} in newly * installed Bundles. This is used as a workaround for OSGi environments where the ServiceLoader cannot cross bundle * boundaries. */ diff --git a/core/src/main/java/org/jclouds/predicates/validators/AllLowerCaseValidator.java b/core/src/main/java/org/jclouds/predicates/validators/AllLowerCaseValidator.java index 467ffe782c..ef6e3f3bfc 100644 --- a/core/src/main/java/org/jclouds/predicates/validators/AllLowerCaseValidator.java +++ b/core/src/main/java/org/jclouds/predicates/validators/AllLowerCaseValidator.java @@ -22,7 +22,7 @@ import org.jclouds.javax.annotation.Nullable; import org.jclouds.predicates.Validator; /** - * Validates that the string paremeter doesn't have any uppercase letters. + * Validates that the string parameter doesn't have any uppercase letters. * * @see org.jclouds.rest.InputParamValidator * @see org.jclouds.predicates.Validator diff --git a/core/src/main/java/org/jclouds/rest/annotations/Unwrap.java b/core/src/main/java/org/jclouds/rest/annotations/Unwrap.java index cd1848d1dd..4657699b86 100644 --- a/core/src/main/java/org/jclouds/rest/annotations/Unwrap.java +++ b/core/src/main/java/org/jclouds/rest/annotations/Unwrap.java @@ -25,7 +25,7 @@ import java.lang.annotation.Retention; import java.lang.annotation.Target; /** - * Unwraps the only value in a nested json reponse + * Unwraps the only value in a nested json response * * ex. { "foo" :"bar" } becomes "bar" * diff --git a/core/src/main/java/org/jclouds/rest/internal/RestAnnotationProcessor.java b/core/src/main/java/org/jclouds/rest/internal/RestAnnotationProcessor.java index 44dcffa94d..0832a0544d 100644 --- a/core/src/main/java/org/jclouds/rest/internal/RestAnnotationProcessor.java +++ b/core/src/main/java/org/jclouds/rest/internal/RestAnnotationProcessor.java @@ -1047,7 +1047,7 @@ public class RestAnnotationProcessor { private Set findOptionsIn(Method method, Object... args) throws ExecutionException { ImmutableSet.Builder result = ImmutableSet.builder(); for (int index : methodToIndexesOfOptions.get(method)) { - if (args.length >= index + 1) {// accomodate varargs + if (args.length >= index + 1) {// accommodate varargs if (args[index] instanceof Object[]) { for (Object option : (Object[]) args[index]) { if (option instanceof HttpRequestOptions) { diff --git a/core/src/main/java/org/jclouds/util/Throwables2.java b/core/src/main/java/org/jclouds/util/Throwables2.java index c3af6560e4..feed1c2924 100644 --- a/core/src/main/java/org/jclouds/util/Throwables2.java +++ b/core/src/main/java/org/jclouds/util/Throwables2.java @@ -145,7 +145,7 @@ public class Throwables2 { if (aex != null) throw aex; propagate(e); - assert false : "exception should have propogated " + e; + assert false : "exception should have propagated " + e; return null; } diff --git a/demos/getpath/src/main/java/org/jclouds/blobstore/GetPath.java b/demos/getpath/src/main/java/org/jclouds/blobstore/GetPath.java index 4c88b13f71..4e610b9b3c 100644 --- a/demos/getpath/src/main/java/org/jclouds/blobstore/GetPath.java +++ b/demos/getpath/src/main/java/org/jclouds/blobstore/GetPath.java @@ -102,7 +102,7 @@ public class GetPath { } } finally { - // Close connecton + // Close connection Closeables.closeQuietly(input); } } diff --git a/demos/speedtest-azurequeue/src/main/java/org/jclouds/azure/azurequeue/SpeedTest.java b/demos/speedtest-azurequeue/src/main/java/org/jclouds/azure/azurequeue/SpeedTest.java index 6dd2cb7a0d..e5b3b7ca23 100644 --- a/demos/speedtest-azurequeue/src/main/java/org/jclouds/azure/azurequeue/SpeedTest.java +++ b/demos/speedtest-azurequeue/src/main/java/org/jclouds/azure/azurequeue/SpeedTest.java @@ -98,7 +98,7 @@ public class SpeedTest { runTests(queueName, messageCount, isEnterprise ? "enterprise" : "default", context); } finally { purgeQueues(queueName, context); - // Close connectons + // Close connections context.close(); System.exit(0); } diff --git a/demos/speedtest-sqs/src/main/java/org/jclouds/aws/sqs/SpeedTest.java b/demos/speedtest-sqs/src/main/java/org/jclouds/aws/sqs/SpeedTest.java index 7289c14417..019c3bd2f6 100644 --- a/demos/speedtest-sqs/src/main/java/org/jclouds/aws/sqs/SpeedTest.java +++ b/demos/speedtest-sqs/src/main/java/org/jclouds/aws/sqs/SpeedTest.java @@ -101,7 +101,7 @@ public class SpeedTest { runTests(messageCount, isEnterprise ? "enterprise" : "default", context, queues); } finally { purgeQueues(queueName, context); - // Close connectons + // Close connections context.close(); System.exit(0); } diff --git a/demos/tweetstore/cf-tweetstore-spring/src/main/java/org/jclouds/demo/paas/service/scheduler/quartz/plugins/TransactionlessXmlSchedulingDataProcessorPlugin.java b/demos/tweetstore/cf-tweetstore-spring/src/main/java/org/jclouds/demo/paas/service/scheduler/quartz/plugins/TransactionlessXmlSchedulingDataProcessorPlugin.java index 91659d9b16..b47f81dfad 100644 --- a/demos/tweetstore/cf-tweetstore-spring/src/main/java/org/jclouds/demo/paas/service/scheduler/quartz/plugins/TransactionlessXmlSchedulingDataProcessorPlugin.java +++ b/demos/tweetstore/cf-tweetstore-spring/src/main/java/org/jclouds/demo/paas/service/scheduler/quartz/plugins/TransactionlessXmlSchedulingDataProcessorPlugin.java @@ -363,7 +363,7 @@ public class TransactionlessXmlSchedulingDataProcessorPlugin implements file = new File(furl); try { f = url.openStream(); - } catch (IOException ignor) { + } catch (IOException ignore) { // Swallow the exception } } diff --git a/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/paas/service/scheduler/quartz/plugins/TransactionlessXmlSchedulingDataProcessorPlugin.java b/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/paas/service/scheduler/quartz/plugins/TransactionlessXmlSchedulingDataProcessorPlugin.java index 91659d9b16..b47f81dfad 100644 --- a/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/paas/service/scheduler/quartz/plugins/TransactionlessXmlSchedulingDataProcessorPlugin.java +++ b/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/paas/service/scheduler/quartz/plugins/TransactionlessXmlSchedulingDataProcessorPlugin.java @@ -363,7 +363,7 @@ public class TransactionlessXmlSchedulingDataProcessorPlugin implements file = new File(furl); try { f = url.openStream(); - } catch (IOException ignor) { + } catch (IOException ignore) { // Swallow the exception } } diff --git a/labs/carrenza-vcloud-director/src/main/java/org/jclouds/carrenza/vcloud/director/config/CarrenzaVCloudDirectorComputeServiceContextModule.java b/labs/carrenza-vcloud-director/src/main/java/org/jclouds/carrenza/vcloud/director/config/CarrenzaVCloudDirectorComputeServiceContextModule.java index 6077df1516..d7be2dd140 100644 --- a/labs/carrenza-vcloud-director/src/main/java/org/jclouds/carrenza/vcloud/director/config/CarrenzaVCloudDirectorComputeServiceContextModule.java +++ b/labs/carrenza-vcloud-director/src/main/java/org/jclouds/carrenza/vcloud/director/config/CarrenzaVCloudDirectorComputeServiceContextModule.java @@ -31,7 +31,7 @@ public class CarrenzaVCloudDirectorComputeServiceContextModule extends AbstractM @Override protected void configure() { - } // FIXME: enable when compute serivce done + } // FIXME: enable when compute service done //extends VCloudDirectorComputeServiceContextModule { // // @Override diff --git a/labs/dmtf/src/main/java/org/jclouds/dmtf/cim/ResourceAllocationSettingData.java b/labs/dmtf/src/main/java/org/jclouds/dmtf/cim/ResourceAllocationSettingData.java index 33e0fbf7f7..27e966b67c 100644 --- a/labs/dmtf/src/main/java/org/jclouds/dmtf/cim/ResourceAllocationSettingData.java +++ b/labs/dmtf/src/main/java/org/jclouds/dmtf/cim/ResourceAllocationSettingData.java @@ -808,12 +808,12 @@ public class ResourceAllocationSettingData { /** * This property exposes specific assignment of resources. Each non-null - * value of the HostResource property shall be formated as a URI per RFC3986. + * value of the HostResource property shall be formatted as a URI per RFC3986. * If this resource is modeled then a value should be a WBEM URI (DSP0207). * If the resource is not modeled then see the appropriate profile. Profiles * may further constrain the type of URI. A NULL value or empty array * requests the implementation decide the kind of host resource. If the - * virtual resource is mapped to more than oneunderlying resource, this + * virtual resource is mapped to more than one underlying resource, this * property may be left NULL. If NULL, the DeviceAllocatedFromPool or * ResourceAllocationFromPool associations may be used to determine the pool * of host resources this virtual resource may use. If specific assignment is diff --git a/labs/dmtf/src/main/java/org/jclouds/dmtf/cim/VirtualSystemSettingData.java b/labs/dmtf/src/main/java/org/jclouds/dmtf/cim/VirtualSystemSettingData.java index 0402a6b842..f8cb371df3 100644 --- a/labs/dmtf/src/main/java/org/jclouds/dmtf/cim/VirtualSystemSettingData.java +++ b/labs/dmtf/src/main/java/org/jclouds/dmtf/cim/VirtualSystemSettingData.java @@ -589,7 +589,7 @@ public class VirtualSystemSettingData { } /** - * Filepath of a file where recovery relateded information of the virtual system is stored. + * Filepath of a file where recovery related information of the virtual system is stored. * * Format shall be String based on RFC-2079. */ @@ -637,7 +637,7 @@ public class VirtualSystemSettingData { * Note that the VirtualSystemIdentifier is not the hostname assigned to * the operating system instance running within the virtual system, nor is it an IP address or * MAC address assigned to any of its network ports. On create requests VirtualSystemIdentifier - * may contain implementation specific rules (like simple patterns or regular expresssion) that + * may contain implementation specific rules (like simple patterns or regular expression) that * may be interpreted by the implementation when assigning a VirtualSystemIdentifier. */ public String getVirtualSystemIdentifier() { diff --git a/labs/elb/src/main/java/org/jclouds/elb/domain/Listener.java b/labs/elb/src/main/java/org/jclouds/elb/domain/Listener.java index f6612ce7a9..d8db6311a2 100644 --- a/labs/elb/src/main/java/org/jclouds/elb/domain/Listener.java +++ b/labs/elb/src/main/java/org/jclouds/elb/domain/Listener.java @@ -154,7 +154,7 @@ public class Listener { } /** - * pecifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or + * Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or * SSL. This property cannot be modified for the life of the LoadBalancer. */ public Protocol getInstanceProtocol() { diff --git a/labs/glesys/src/main/java/org/jclouds/glesys/domain/ServerDetails.java b/labs/glesys/src/main/java/org/jclouds/glesys/domain/ServerDetails.java index 88abce73c9..03b9b8c00e 100644 --- a/labs/glesys/src/main/java/org/jclouds/glesys/domain/ServerDetails.java +++ b/labs/glesys/src/main/java/org/jclouds/glesys/domain/ServerDetails.java @@ -30,7 +30,7 @@ import com.google.common.collect.ImmutableSet; /** * Detailed information about a server such as cpuCores, hardware configuration - * (cpu, memory and disk), ip adresses, cost, transfer, os and more. + * (cpu, memory and disk), ip addresses, cost, transfer, os and more. * * @author Adrian Cole * @see diff --git a/labs/joyent-cloudapi/src/main/java/org/jclouds/joyent/cloudapi/v6_5/suppliers/ZoneIdToURIFromDatacentersApi.java b/labs/joyent-cloudapi/src/main/java/org/jclouds/joyent/cloudapi/v6_5/suppliers/ZoneIdToURIFromDatacentersApi.java index f0c215541b..085c9e5c16 100644 --- a/labs/joyent-cloudapi/src/main/java/org/jclouds/joyent/cloudapi/v6_5/suppliers/ZoneIdToURIFromDatacentersApi.java +++ b/labs/joyent-cloudapi/src/main/java/org/jclouds/joyent/cloudapi/v6_5/suppliers/ZoneIdToURIFromDatacentersApi.java @@ -9,11 +9,11 @@ * * http://www.apache.org/licenses/LICENSE-2.0 * - * Unles required by applicable law or agreed to in writing, + * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either expres or implied. See the License for the - * specific language governing permisions and limitations + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations * under the License. */ package org.jclouds.joyent.cloudapi.v6_5.suppliers; diff --git a/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/binders/BindVMSpecToXmlPayload.java b/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/binders/BindVMSpecToXmlPayload.java index 935a9d7b2b..b7430253fb 100644 --- a/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/binders/BindVMSpecToXmlPayload.java +++ b/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/binders/BindVMSpecToXmlPayload.java @@ -41,7 +41,7 @@ public class BindVMSpecToXmlPayload extends BaseBindVMSpecToXmlPayload { return VMSpec.class.cast(arg); } } - throw new IllegalArgumentException("Iterbable must be included in the argument list"); + throw new IllegalArgumentException("Iterable must be included in the argument list"); } @Override diff --git a/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/binders/BindVMSpecsToXmlPayload.java b/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/binders/BindVMSpecsToXmlPayload.java index c6ad31e65c..2621466ec2 100644 --- a/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/binders/BindVMSpecsToXmlPayload.java +++ b/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/binders/BindVMSpecsToXmlPayload.java @@ -48,7 +48,7 @@ public class BindVMSpecsToXmlPayload extends BaseBindVMSpecToXmlPayload must be included in the argument list"); + throw new IllegalArgumentException("Iterable must be included in the argument list"); } @Override diff --git a/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/domain/NetworkConnectionSection.java b/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/domain/NetworkConnectionSection.java index daa717c500..955a2592d5 100644 --- a/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/domain/NetworkConnectionSection.java +++ b/labs/savvis-symphonyvpdc/src/main/java/org/jclouds/savvis/vpdc/domain/NetworkConnectionSection.java @@ -36,7 +36,7 @@ public class NetworkConnectionSection extends Section */ @Override public Builder toBuilder() { - return builder().fromNetworkConectionSection(this); + return builder().fromNetworkConnectionSection(this); } public static class Builder extends Section.Builder { @@ -61,7 +61,7 @@ public class NetworkConnectionSection extends Section return new NetworkConnectionSection(info, network, ipAddress); } - public Builder fromNetworkConectionSection(NetworkConnectionSection in) { + public Builder fromNetworkConnectionSection(NetworkConnectionSection in) { return fromSection(in).network(in.getNetwork()).ipAddress(in.getIpAddress()); } diff --git a/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/domain/VmNIC.java b/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/domain/VmNIC.java index 3a92064da6..0daebb8d1a 100644 --- a/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/domain/VmNIC.java +++ b/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/domain/VmNIC.java @@ -29,7 +29,7 @@ public class VmNIC { public String netmask; public String gateway; - public Builder simpleDCHPNic() { + public Builder simpleDHCPNic() { tag = "admin"; ip = "dhcp"; return this; diff --git a/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/strategy/SmartOSComputeServiceAdapter.java b/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/strategy/SmartOSComputeServiceAdapter.java index 541620c627..b882df7b3d 100644 --- a/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/strategy/SmartOSComputeServiceAdapter.java +++ b/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/strategy/SmartOSComputeServiceAdapter.java @@ -61,7 +61,7 @@ public class SmartOSComputeServiceAdapter implements ComputeServiceAdapter createNodeWithGroupEncodedIntoName(String tag, String name, Template template) { VmSpecification specification = VmSpecification.builder().alias(name) .dataset(getHost().getDataSet(UUID.fromString(template.getImage().getProviderId()))) - .nic(VmNIC.builder().simpleDCHPNic().build()).build(); + .nic(VmNIC.builder().simpleDHCPNic().build()).build(); VM from = getHost().createVM(specification); @@ -74,7 +74,7 @@ public class SmartOSComputeServiceAdapter implements ComputeServiceAdapter specificationList = new ArrayList(); VmSpecification vs = VmSpecification.builder().alias("Standard Joyent VM") - .nic(VmNIC.builder().simpleDCHPNic().build()).build(); + .nic(VmNIC.builder().simpleDHCPNic().build()).build(); specificationList.add(vs); diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/CatalogReference.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/CatalogReference.java index acfffcb591..69b57d70b2 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/CatalogReference.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/CatalogReference.java @@ -71,5 +71,5 @@ public class CatalogReference extends Reference { return super.equals(that); } - // NOTE hashcode inheritted from Reference + // NOTE hashcode inherited from Reference } diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/RoleReference.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/RoleReference.java index 1d23d879b5..2a9e54a009 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/RoleReference.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/RoleReference.java @@ -71,5 +71,5 @@ public class RoleReference extends Reference { return super.equals(that); } - // NOTE hashcode inheritted from Reference + // NOTE hashcode inherited from Reference } diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/RoleReferences.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/RoleReferences.java index 8029782c08..9bb0e28477 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/RoleReferences.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/RoleReferences.java @@ -85,6 +85,6 @@ public class RoleReferences extends QueryResultReferences { return super.equals(that); } - // NOTE hashcode inheritted from QueryResultReferences + // NOTE hashcode inherited from QueryResultReferences } diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/Task.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/Task.java index 6499f19c34..332a375161 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/Task.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/Task.java @@ -64,7 +64,7 @@ public class Task extends Entity { @XmlEnumValue("queued") QUEUED("queued"), /** The task is awaiting preprocessing or, if it is a blocking task, administrative action. */ @XmlEnumValue("preRunning") PRE_RUNNING("preRunning"), - /** The task is runnning. */ + /** The task is running. */ @XmlEnumValue("running") RUNNING("running"), /** The task completed with a status of success. */ @XmlEnumValue("success") SUCCESS("success"), diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/VAppReference.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/VAppReference.java index 6833ffff01..06f14d1d61 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/VAppReference.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/VAppReference.java @@ -71,5 +71,5 @@ public class VAppReference extends Reference { return super.equals(that); } - // NOTE hashcode inheritted from Reference + // NOTE hashcode inherited from Reference } diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/CatalogReferences.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/CatalogReferences.java index b6e08357b4..834f6032c0 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/CatalogReferences.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/CatalogReferences.java @@ -74,5 +74,5 @@ public class CatalogReferences extends QueryResultReferences { return super.equals(that); } - // NOTE hashcode inheritted from QueryResultReferences + // NOTE hashcode inherited from QueryResultReferences } diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/QueryResultAdminVdcRecord.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/QueryResultAdminVdcRecord.java index 9ecb2c0bbf..a2cb3d97d9 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/QueryResultAdminVdcRecord.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/QueryResultAdminVdcRecord.java @@ -484,7 +484,7 @@ public class QueryResultAdminVdcRecord extends QueryResultRecordType { } /** - * Shows wheter it is a system vDC + * Shows whether it is a system vDC */ public Boolean isSystemVdc() { return isSystemVdc; diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/VAppReferences.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/VAppReferences.java index c911b09935..0272d144b9 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/VAppReferences.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/query/VAppReferences.java @@ -74,5 +74,5 @@ public class VAppReferences extends QueryResultReferences { return super.equals(that); } - // NOTE hashcode inheritted from QueryResultReferences + // NOTE hashcode inherited from QueryResultReferences } diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/features/MetadataApi.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/features/MetadataApi.java index 0f955a933c..1b4aa4b9dc 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/features/MetadataApi.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/features/MetadataApi.java @@ -27,7 +27,7 @@ import org.jclouds.vcloud.director.v1_5.domain.MetadataValue; import org.jclouds.vcloud.director.v1_5.domain.Task; /** - * Provides synchronous access to {@linkl Metadata}. + * Provides synchronous access to {@link Metadata}. * * @see MetadataAsyncApi * @author danikov diff --git a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/BridgedIfStringToBridgedIf.java b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/BridgedIfStringToBridgedIf.java index c67a73591e..414a3605e2 100644 --- a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/BridgedIfStringToBridgedIf.java +++ b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/BridgedIfStringToBridgedIf.java @@ -51,18 +51,18 @@ public class BridgedIfStringToBridgedIf implements Function { checkNotNull(rawBridgedIf, "rawBridgedIf"); String transformedBridgedIf = transformRawBridgedIf(rawBridgedIf); - Map bridegedIfMap = Splitter.on("\n") + Map bridgedIfMap = Splitter.on("\n") .omitEmptyStrings().withKeyValueSeparator("=") .split(transformedBridgedIf); return BridgedIf .builder() - .name(getValueFromMap(bridegedIfMap, BRIDGED_IF_NAME)) - .guid(getValueFromMap(bridegedIfMap, BRIDGED_IF_GUID)) - .ip(getValueFromMap(bridegedIfMap, BRIDGED_IF_IP_ADDRESS)) - .networkMask(getValueFromMap(bridegedIfMap, BRIDGED_IF_NETWORK_MASK)) - .mediumType(getValueFromMap(bridegedIfMap, BRIDGED_IF_MEDIUM_TYPE)) - .status(getValueFromMap(bridegedIfMap, BRIDGED_IF_STATUS)) + .name(getValueFromMap(bridgedIfMap, BRIDGED_IF_NAME)) + .guid(getValueFromMap(bridgedIfMap, BRIDGED_IF_GUID)) + .ip(getValueFromMap(bridgedIfMap, BRIDGED_IF_IP_ADDRESS)) + .networkMask(getValueFromMap(bridgedIfMap, BRIDGED_IF_NETWORK_MASK)) + .mediumType(getValueFromMap(bridgedIfMap, BRIDGED_IF_MEDIUM_TYPE)) + .status(getValueFromMap(bridgedIfMap, BRIDGED_IF_STATUS)) .build(); } diff --git a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IMachineToSshClient.java b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IMachineToSshClient.java index 6290a8c97a..3c684152b6 100644 --- a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IMachineToSshClient.java +++ b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IMachineToSshClient.java @@ -124,8 +124,8 @@ public class IMachineToSshClient implements Function { String network) { // RetrieveActiveBridgedInterfaces List activeBridgedInterfaces = new RetrieveActiveBridgedInterfaces(scriptRunnerFactory).apply(hostSupplier.get()); - BridgedIf activeBrigedIf = checkNotNull(Iterables.get(activeBridgedInterfaces, 0), "activeBridgrdIf"); - network = activeBrigedIf.getIpAddress(); + BridgedIf activeBridgedIf = checkNotNull(Iterables.get(activeBridgedInterfaces, 0), "activeBridgedInterfaces"); + network = activeBridgedIf.getIpAddress(); // scan ip RunScriptOnNode ipScanRunScript = scriptRunnerFactory.create( diff --git a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IMachineToVmSpec.java b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IMachineToVmSpec.java index 14410ba1d0..c4be85e81d 100644 --- a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IMachineToVmSpec.java +++ b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IMachineToVmSpec.java @@ -75,22 +75,22 @@ public class IMachineToVmSpec implements Function { List controllers = Lists.newArrayList(); for (IStorageController iStorageController : machine.getStorageControllers()) { - Builder storageControlleBuiler = StorageController.builder(); + Builder storageControllerBuilder = StorageController.builder(); for (IMediumAttachment iMediumAttachment : machine.getMediumAttachmentsOfController(iStorageController .getName())) { IMedium iMedium = iMediumAttachment.getMedium(); if(iMedium != null) { if (iMedium.getDeviceType().equals(DeviceType.HardDisk)) { - storageControlleBuiler.attachHardDisk(HardDisk.builder().diskpath(iMedium.getLocation()) + storageControllerBuilder.attachHardDisk(HardDisk.builder().diskpath(iMedium.getLocation()) .autoDelete(true).controllerPort(iMediumAttachment.getPort()) .deviceSlot(iMediumAttachment.getDevice().intValue()).build()); } else if (iMedium.getDeviceType().equals(DeviceType.DVD)) { - storageControlleBuiler.attachISO(iMediumAttachment.getPort(), iMediumAttachment.getDevice().intValue(), + storageControllerBuilder.attachISO(iMediumAttachment.getPort(), iMediumAttachment.getDevice().intValue(), iMedium.getLocation()); } } } - controllers.add(storageControlleBuiler.name(iStorageController.getName()).bus(iStorageController.getBus()) + controllers.add(storageControllerBuilder.name(iStorageController.getName()).bus(iStorageController.getBus()) .build()); } return controllers; diff --git a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java index 935ed4805c..d417afbfee 100644 --- a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java +++ b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java @@ -242,11 +242,11 @@ public class NodeCreator implements Function> { @Override public String toString() { - return String.format("desribingImages(filter=%s,regions=%s)", filter, regions); + return String.format("describingImages(filter=%s,regions=%s)", filter, regions); } -} \ No newline at end of file +} diff --git a/providers/gogrid/src/main/java/org/jclouds/gogrid/compute/config/GoGridComputeServiceContextModule.java b/providers/gogrid/src/main/java/org/jclouds/gogrid/compute/config/GoGridComputeServiceContextModule.java index dadb9a323f..2fb4a52b82 100644 --- a/providers/gogrid/src/main/java/org/jclouds/gogrid/compute/config/GoGridComputeServiceContextModule.java +++ b/providers/gogrid/src/main/java/org/jclouds/gogrid/compute/config/GoGridComputeServiceContextModule.java @@ -119,7 +119,7 @@ public class GoGridComputeServiceContextModule extends /** * Finds matches to required configurations. GoGrid's documentation only specifies how much RAM - * one can get with different instance types. The # of cores and disk sizes are purely empyrical + * one can get with different instance types. The # of cores and disk sizes are purely empirical * and aren't guaranteed. However, these are the matches found: Ram: 512MB, CPU: 1 core, HDD: 28 * GB Ram: 1GB, CPU: 1 core, HDD: 57 GB Ram: 2GB, CPU: 1 core, HDD: 113 GB Ram: 4GB, CPU: 3 * cores, HDD: 233 GB Ram: 8GB, CPU: 6 cores, HDD: 462 GB (as of March 2010) diff --git a/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/blobstore/config/HPCloudObjectStorageBlobStoreContextModule.java b/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/blobstore/config/HPCloudObjectStorageBlobStoreContextModule.java index a2086305c6..bfc73bd50e 100644 --- a/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/blobstore/config/HPCloudObjectStorageBlobStoreContextModule.java +++ b/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/blobstore/config/HPCloudObjectStorageBlobStoreContextModule.java @@ -73,10 +73,10 @@ public class HPCloudObjectStorageBlobStoreContextModule extends SwiftBlobStoreCo @Override public URI load(String container) { - Optional cdnExension = client.getCDNExtension(); - checkArgument(cdnExension.isPresent(), "CDN is required, but the extension is not available!"); + Optional cdnExtension = client.getCDNExtension(); + checkArgument(cdnExtension.isPresent(), "CDN is required, but the extension is not available!"); try { - ContainerCDNMetadata md = cdnExension.get().getCDNMetadata(container); + ContainerCDNMetadata md = cdnExtension.get().getCDNMetadata(container); return md != null ? md.getCDNUri() : null; } catch (HttpResponseException e) { // TODO: this is due to beta status diff --git a/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/blobstore/functions/EnableCDNAndCache.java b/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/blobstore/functions/EnableCDNAndCache.java index 3cd6d767c9..c24d3f4d80 100644 --- a/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/blobstore/functions/EnableCDNAndCache.java +++ b/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/blobstore/functions/EnableCDNAndCache.java @@ -49,11 +49,11 @@ public class EnableCDNAndCache implements Function { @Override public URI apply(String input) { - Optional cdnExension = sync.getCDNExtension(); - checkArgument(cdnExension.isPresent(), "CDN is required, but the extension is not available!"); - URI uri = cdnExension.get().enableCDN(input); + Optional cdnExtension = sync.getCDNExtension(); + checkArgument(cdnExtension.isPresent(), "CDN is required, but the extension is not available!"); + URI uri = cdnExtension.get().enableCDN(input); cdnContainer.put(input, uri); return uri; } -} \ No newline at end of file +} diff --git a/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/options/CreateContainerOptions.java b/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/options/CreateContainerOptions.java index 29a293bb52..c995938f42 100644 --- a/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/options/CreateContainerOptions.java +++ b/providers/hpcloud-objectstorage/src/main/java/org/jclouds/hpcloud/objectstorage/options/CreateContainerOptions.java @@ -27,7 +27,7 @@ import org.jclouds.openstack.swift.reference.SwiftHeaders; /** * Contains options supported in the REST API for the Create Container operation. * - * This specifically enabes the Swift ACL for public reads using the 'X-Container-Read' + * This specifically enables the Swift ACL for public reads using the 'X-Container-Read' * header. This should be refactored into the Swift API. * * @author Jeremy Daggett diff --git a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/data/CloneOptions.java b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/data/CloneOptions.java index 13a99dca6f..7a2d0ecbb1 100644 --- a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/data/CloneOptions.java +++ b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/data/CloneOptions.java @@ -22,7 +22,7 @@ import com.google.gson.annotations.SerializedName; /** * Options for a clone. - * TODO: test and add contructors. + * TODO: test and add constructors. * @author Ivan Meredith */ public class CloneOptions implements PostData { diff --git a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/data/NewServerData.java b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/data/NewServerData.java index 0d8a155fdf..2b6408bce8 100644 --- a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/data/NewServerData.java +++ b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/data/NewServerData.java @@ -69,7 +69,7 @@ public class NewServerData implements PostData { private String hostServerId; /** * These are the instantiation options.  e.g. domain name, password, etc.  Only provide - * these if you are not cloning a VPS (the vps_order_oid_to_clone setting). i.e. utually + * these if you are not cloning a VPS (the vps_order_oid_to_clone setting). i.e. mutually * exclusive to instantiation_via_clone_options */ @SerializedName("instantiation_options") diff --git a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/domain/BillingData.java b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/domain/BillingData.java index 86d5013358..440284646f 100644 --- a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/domain/BillingData.java +++ b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/domain/BillingData.java @@ -23,7 +23,7 @@ import java.sql.Timestamp; import com.google.gson.annotations.SerializedName; /** - * Billing data. Need to make it inteface with jclouds. + * Billing data. Need to make it interface with jclouds. * TODO: test * * @author Ivan Meredith diff --git a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/domain/ResizeResult.java b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/domain/ResizeResult.java index a8e47892fc..2a07abf991 100644 --- a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/domain/ResizeResult.java +++ b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/domain/ResizeResult.java @@ -53,7 +53,7 @@ public class ResizeResult { /** * true if we made the resource changes.  False if we did not * make them, e.g. if we hit a billing issue, or if the host server - * did not have the resources to accomodate the change. + * did not have the resources to accommodate the change. */ @SerializedName("were_resources_changed") private Boolean success; diff --git a/providers/softlayer/src/main/java/org/jclouds/softlayer/domain/VirtualGuest.java b/providers/softlayer/src/main/java/org/jclouds/softlayer/domain/VirtualGuest.java index 1127a3ef1b..99d35a8352 100644 --- a/providers/softlayer/src/main/java/org/jclouds/softlayer/domain/VirtualGuest.java +++ b/providers/softlayer/src/main/java/org/jclouds/softlayer/domain/VirtualGuest.java @@ -37,7 +37,7 @@ import com.google.gson.annotations.SerializedName; * However the special characters '.' and '-' may not be consecutive. * Each alphanumeric string separated by a period is considered a label. * Labels must begin and end with an alphanumeric character. - * Each label cannot be soley comprised of digits and must be between 1-63 characters in length. + * Each label cannot be solely comprised of digits and must be between 1-63 characters in length. * The last label, the TLD (top level domain) must be between 2-6 alphabetic characters. * The domain portion must consist of least one label followed by a period '.' then ending with the TLD label. * Combining the hostname, followed by a period '.', followed by the domain gives the FQDN (fully qualified domain name), diff --git a/providers/trmk-ecloud/src/main/java/org/jclouds/trmk/ecloud/config/TerremarkECloudRestClientModule.java b/providers/trmk-ecloud/src/main/java/org/jclouds/trmk/ecloud/config/TerremarkECloudRestClientModule.java index d761013db1..66526116c6 100644 --- a/providers/trmk-ecloud/src/main/java/org/jclouds/trmk/ecloud/config/TerremarkECloudRestClientModule.java +++ b/providers/trmk-ecloud/src/main/java/org/jclouds/trmk/ecloud/config/TerremarkECloudRestClientModule.java @@ -91,7 +91,7 @@ public class TerremarkECloudRestClientModule extends // VDC's // this does not // work well. - // Each VDC will have differnt network subnets. So we cannot assume the + // Each VDC will have different network subnets. So we cannot assume the // default VDC's // networks will // work with non-default VDC's. So make PROPERTY_VCLOUD_DEFAULT_NETWORK diff --git a/sandbox-apis/nirvanix/src/main/java/org/jclouds/nirvanix/sdn/filters/AddSessionTokenToRequest.java b/sandbox-apis/nirvanix/src/main/java/org/jclouds/nirvanix/sdn/filters/AddSessionTokenToRequest.java index aad54ab606..d6d8cfa5a3 100644 --- a/sandbox-apis/nirvanix/src/main/java/org/jclouds/nirvanix/sdn/filters/AddSessionTokenToRequest.java +++ b/sandbox-apis/nirvanix/src/main/java/org/jclouds/nirvanix/sdn/filters/AddSessionTokenToRequest.java @@ -65,7 +65,7 @@ public class AddSessionTokenToRequest implements HttpRequestFilter { } // this is a hotspot when submitted concurrently, so be lazy. - // session tokens expire in 20 minutes of no use, but let's be a little paraniod and go 19 + // session tokens expire in 20 minutes of no use, but let's be a little paranoid and go 19 public String createNewToken() { authToken.set(authTokenProvider.get()); trigger.set(System.nanoTime() + System.nanoTime() + 19 * MINUTES); diff --git a/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/IBMSmartCloudClient.java b/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/IBMSmartCloudClient.java index 22ab9a28a0..976024dec5 100644 --- a/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/IBMSmartCloudClient.java +++ b/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/IBMSmartCloudClient.java @@ -353,7 +353,7 @@ public interface IBMSmartCloudClient { * @param size * The size of the new storage volume. Valid values may include * SMALL, MEDIUM, and LARGE. Actual values may depend on the - * location used and may be discov- ered via the location service + * location used and may be discovered via the location service * @param offeringID * The offeringID which can be obtained from * {@link #listStorageOfferings} diff --git a/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/options/CreateInstanceOptions.java b/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/options/CreateInstanceOptions.java index 5477d3b5f2..7f855c89ae 100644 --- a/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/options/CreateInstanceOptions.java +++ b/sandbox-providers/ibm-smartcloud/src/main/java/org/jclouds/ibm/smartcloud/options/CreateInstanceOptions.java @@ -59,7 +59,7 @@ public class CreateInstanceOptions extends BaseHttpRequestOptions { /** * * @param publicKeyName - * The public key to use for accessing the created instancee + * The public key to use for accessing the created instance */ public CreateInstanceOptions authorizePublicKey(String publicKeyName) { checkNotNull(publicKeyName, "publicKeyName");