diff --git a/apis/filesystem/src/test/java/org/jclouds/filesystem/FilesystemAsyncBlobStoreTest.java b/apis/filesystem/src/test/java/org/jclouds/filesystem/FilesystemAsyncBlobStoreTest.java index 36ea8287cc..c8d3b0d844 100644 --- a/apis/filesystem/src/test/java/org/jclouds/filesystem/FilesystemAsyncBlobStoreTest.java +++ b/apis/filesystem/src/test/java/org/jclouds/filesystem/FilesystemAsyncBlobStoreTest.java @@ -858,7 +858,7 @@ public class FilesystemAsyncBlobStoreTest { // nothing expected if (null == expectedBlobKeys || 0 == expectedBlobKeys.size()) { - assertTrue(blobsRetrieved.isEmpty(), "Wrong blob number retrieved in the containter [" + containerName + "]"); + assertTrue(blobsRetrieved.isEmpty(), "Wrong blob number retrieved in the container [" + containerName + "]"); return; } @@ -868,7 +868,7 @@ public class FilesystemAsyncBlobStoreTest { expectedBlobKeysCopy.add(value); } assertEquals(blobsRetrieved.size(), expectedBlobKeysCopy.size(), - "Wrong blob number retrieved in the containter [" + containerName + "]"); + "Wrong blob number retrieved in the container [" + containerName + "]"); for (StorageMetadata data : blobsRetrieved) { String blobName = data.getName(); if (!expectedBlobKeysCopy.remove(blobName)) { diff --git a/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/strategy/internal/ParallelMultipartUploadStrategy.java b/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/strategy/internal/ParallelMultipartUploadStrategy.java index a5b02c5728..12481c2116 100644 --- a/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/strategy/internal/ParallelMultipartUploadStrategy.java +++ b/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/strategy/internal/ParallelMultipartUploadStrategy.java @@ -204,7 +204,7 @@ public class ParallelMultipartUploadStrategy implements AsyncMultipartUploadStra String eTag = client.putObjectManifest(container, key); logger.debug(String.format("multipart upload of %s to container %s" + - " succeffully finished with %s retries", key, container, errors.get())); + " successfully finished with %s retries", key, container, errors.get())); return eTag; } catch (Exception ex) { RuntimeException rtex = Throwables2.getFirstThrowableOfType(ex, RuntimeException.class); diff --git a/core/src/main/java/org/jclouds/io/payloads/BasePayload.java b/core/src/main/java/org/jclouds/io/payloads/BasePayload.java index 020a0daeeb..53f523c76e 100644 --- a/core/src/main/java/org/jclouds/io/payloads/BasePayload.java +++ b/core/src/main/java/org/jclouds/io/payloads/BasePayload.java @@ -60,7 +60,7 @@ public abstract class BasePayload implements Payload { */ @Override public void writeTo(OutputStream outstream) throws IOException { - checkState(!written || isRepeatable(), "can only be writted to an outputstream once"); + checkState(!written || isRepeatable(), "can only write to an outputStream once"); written = true; InputStream in = getInput(); try { diff --git a/core/src/test/java/org/jclouds/apis/ApisTest.java b/core/src/test/java/org/jclouds/apis/ApisTest.java index 97a75c669c..e16ca5a851 100644 --- a/core/src/test/java/org/jclouds/apis/ApisTest.java +++ b/core/src/test/java/org/jclouds/apis/ApisTest.java @@ -43,7 +43,7 @@ public class ApisTest { ApiMetadata apiMetadata; try { apiMetadata = Apis.withId("fake-id"); - fail("Looking for a api with an id that doesn't exist should " + "throw an exceptoin."); + fail("Looking for a api with an id that doesn't exist should " + "throw an exception."); } catch (NoSuchElementException nsee) { ; // Expected } diff --git a/core/src/test/java/org/jclouds/providers/ProvidersTest.java b/core/src/test/java/org/jclouds/providers/ProvidersTest.java index 0432219b99..d723e3adc6 100644 --- a/core/src/test/java/org/jclouds/providers/ProvidersTest.java +++ b/core/src/test/java/org/jclouds/providers/ProvidersTest.java @@ -49,7 +49,7 @@ public class ProvidersTest { try { providerMetadata = Providers.withId("fake-id"); - fail("Looking for a provider with an id that doesn't exist should " + "throw an exceptoin."); + fail("Looking for a provider with an id that doesn't exist should " + "throw an exception."); } catch (NoSuchElementException nsee) { ; // Expected } diff --git a/drivers/gae/src/main/java/org/jclouds/gae/AsyncGaeHttpCommandExecutorService.java b/drivers/gae/src/main/java/org/jclouds/gae/AsyncGaeHttpCommandExecutorService.java index 62c2318c27..966c94ae5f 100644 --- a/drivers/gae/src/main/java/org/jclouds/gae/AsyncGaeHttpCommandExecutorService.java +++ b/drivers/gae/src/main/java/org/jclouds/gae/AsyncGaeHttpCommandExecutorService.java @@ -96,7 +96,7 @@ public class AsyncGaeHttpCommandExecutorService implements HttpCommandExecutorSe request = filter.filter(request); } checkRequestHasContentLengthOrChunkedEncoding(request, - "After filtering, the request has niether chunked encoding nor content length: " + request); + "After filtering, the request has neither chunked encoding nor content length: " + request); logger.debug("Sending request %s: %s", request.hashCode(), request.getRequestLine()); wirePayloadIfEnabled(wire, request); HTTPRequest nativeRequest = convertToGaeRequest.apply(request); diff --git a/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/features/admin/AdminOrgClientLiveTest.java b/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/features/admin/AdminOrgClientLiveTest.java index 53e85123cd..accbef2f58 100644 --- a/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/features/admin/AdminOrgClientLiveTest.java +++ b/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/features/admin/AdminOrgClientLiveTest.java @@ -408,7 +408,7 @@ public class AdminOrgClientLiveTest extends BaseVCloudDirectorClientLiveTest { orgRef.getHref(), restorableSettings); } catch (Exception e) { if (exception != null) { - logger.warn(e, "Error reseting settings; rethrowing origina test exception..."); + logger.warn(e, "Error resetting settings; rethrowing original test exception..."); throw exception; } else { throw e; diff --git a/providers/aws-s3/src/main/java/org/jclouds/aws/s3/blobstore/strategy/internal/ParallelMultipartUploadStrategy.java b/providers/aws-s3/src/main/java/org/jclouds/aws/s3/blobstore/strategy/internal/ParallelMultipartUploadStrategy.java index bee6d98174..e946df6a99 100644 --- a/providers/aws-s3/src/main/java/org/jclouds/aws/s3/blobstore/strategy/internal/ParallelMultipartUploadStrategy.java +++ b/providers/aws-s3/src/main/java/org/jclouds/aws/s3/blobstore/strategy/internal/ParallelMultipartUploadStrategy.java @@ -225,7 +225,7 @@ public class ParallelMultipartUploadStrategy implements AsyncMultipartUploadStra } String eTag = client.completeMultipartUpload(container, key, uploadId, etags); logger.debug(String.format("multipart upload of %s to container %s with uploadId %s" + - " succeffully finished with %s retries", key, container, uploadId, errors.get())); + " successfully finished with %s retries", key, container, uploadId, errors.get())); return eTag; } catch (Exception ex) { RuntimeException rtex = Throwables2.getFirstThrowableOfType(ex, RuntimeException.class); diff --git a/providers/gogrid/src/test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java b/providers/gogrid/src/test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java index 8db55df797..39f0d2d203 100644 --- a/providers/gogrid/src/test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java +++ b/providers/gogrid/src/test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java @@ -211,7 +211,7 @@ public class GoGridLiveTestDisabled extends BaseComputeServiceContextLiveTest { Job latestJobFetched = Iterables.getOnlyElement(client.getJobServices().getJobsById(latestJobId)); - assert latestJob.equals(latestJobFetched) : "Job and its reprentation found by ID don't match"; + assert latestJob.equals(latestJobFetched) : "Job and its representation found by ID don't match"; long[] idsOfAllJobs = new long[jobs.size()]; int i = 0; 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 762cdb8152..0d8a155fdf 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 @@ -107,7 +107,7 @@ public class NewServerData implements PostData { * stops them all fitting in 'neatly' (that's not a problem on the bigger-, non-low * contention-plans. */ - @SerializedName("vps_paramters") + @SerializedName("vps_parameters") private ServerParameters serverParameters; @SerializedName("meta_data") diff --git a/scriptbuilder/src/main/java/org/jclouds/scriptbuilder/functionloader/FunctionNotFoundException.java b/scriptbuilder/src/main/java/org/jclouds/scriptbuilder/functionloader/FunctionNotFoundException.java index f6ba30f10b..9c584123d9 100644 --- a/scriptbuilder/src/main/java/org/jclouds/scriptbuilder/functionloader/FunctionNotFoundException.java +++ b/scriptbuilder/src/main/java/org/jclouds/scriptbuilder/functionloader/FunctionNotFoundException.java @@ -27,10 +27,10 @@ public class FunctionNotFoundException extends RuntimeException { private static final long serialVersionUID = 1L; public FunctionNotFoundException(String functionName, OsFamily family) { - super("function: " + functionName + " not found for famiy: " + family); + super("function: " + functionName + " not found for family: " + family); } public FunctionNotFoundException(String functionName, OsFamily family, Throwable cause) { - super("function: " + functionName + " not found for famiy: " + family, cause); + super("function: " + functionName + " not found for family: " + family, cause); } }