Correct spelling errors

This commit is contained in:
Andrew Gaul 2012-06-13 09:40:49 -07:00 committed by Adrian Cole
parent db086697aa
commit 736554d049
11 changed files with 13 additions and 13 deletions

View File

@ -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)) {

View File

@ -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);

View File

@ -60,7 +60,7 @@ public abstract class BasePayload<V> 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 {

View File

@ -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
}

View File

@ -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
}

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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;

View File

@ -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")

View File

@ -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);
}
}