Skip to content

Commit 1344f93

Browse files
authored
chore: fix spelling typos (#650)
1 parent 8db137f commit 1344f93

File tree

11 files changed

+37
-37
lines changed

11 files changed

+37
-37
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ All notable changes to this project will be documented in this file.
1919
[2020-09-16] Version 4.6.5
2020
--------------------------
2121
**Library - Docs**
22-
- [PR #477](https://github.com/sendgrid/sendgrid-java/pull/477): Run *.md documents through Grammer.ly. Thanks to [@vinird](https://github.com/vinird)!
22+
- [PR #477](https://github.com/sendgrid/sendgrid-java/pull/477): Run *.md documents through Grammar.ly. Thanks to [@vinird](https://github.com/vinird)!
2323

2424

2525
[2020-08-19] Version 4.6.4

FIRST_TIMERS.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ Before creating a pull request, make sure that you respect the repository's cons
6161
* [Node.js SDK](https://github.com/sendgrid/sendgrid-nodejs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
6262
* [Java SDK](https://github.com/sendgrid/sendgrid-java/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
6363
* [Go SDK](https://github.com/sendgrid/sendgrid-go/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
64-
* [Python STMPAPI Client](https://github.com/sendgrid/smtpapi-python/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
65-
* [PHP STMPAPI Client](https://github.com/sendgrid/smtpapi-php/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
66-
* [C# STMPAPI Client](https://github.com/sendgrid/smtpapi-csharp/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
67-
* [Ruby STMPAPI Client](https://github.com/sendgrid/smtpapi-ruby/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
68-
* [Node.js STMPAPI Client](https://github.com/sendgrid/smtpapi-nodejs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
69-
* [Java STMPAPI Client](https://github.com/sendgrid/smtpapi-java/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
70-
* [Go STMPAPI Client](https://github.com/sendgrid/smtpapi-go/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
64+
* [Python SMTPAPI Client](https://github.com/sendgrid/smtpapi-python/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
65+
* [PHP SMTPAPI Client](https://github.com/sendgrid/smtpapi-php/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
66+
* [C# SMTPAPI Client](https://github.com/sendgrid/smtpapi-csharp/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
67+
* [Ruby SMTPAPI Client](https://github.com/sendgrid/smtpapi-ruby/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
68+
* [Node.js SMTPAPI Client](https://github.com/sendgrid/smtpapi-nodejs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
69+
* [Java SMTPAPI Client](https://github.com/sendgrid/smtpapi-java/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
70+
* [Go SMTPAPI Client](https://github.com/sendgrid/smtpapi-go/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
7171
* [Python HTTP Client](https://github.com/sendgrid/python-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
7272
* [PHP HTTP Client](https://github.com/sendgrid/php-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
7373
* [C# HTTP Client](https://github.com/sendgrid/csharp-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)

USAGE.md

+18-18
Large diffs are not rendered by default.

USE_CASES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import java.io.IOException;
5353
public class Example {
5454
public static void main(String[] args) throws IOException {
5555
Mail mail = new Mail();
56-
mail.setFrom(new Email("teste@example.com"));
56+
mail.setFrom(new Email("tester@example.com"));
5757
mail.setTemplateId("d-2c214ac919e84170b21855cc129b4a5f");
5858

5959
Personalization personalization = new Personalization();

examples/accesssettings/Example.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected Response execute(Request request) throws IOException {
2323
return response;
2424
}
2525

26-
protected void printResonseInfo(Response response) {
26+
protected void printResponseInfo(Response response) {
2727
System.out.println(response.getStatusCode());
2828
System.out.println(response.getBody());
2929
System.out.println(response.getHeaders());

examples/ips/RetrieveAllPools.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// GET /ips/pools
1414

1515

16-
public class RetieveAllIPPools {
16+
public class RetrieveAllIPPools {
1717
public static void main(String[] args) throws IOException {
1818
try {
1919
SendGrid sg = new SendGrid(System.getenv("SENDGRID_API_KEY"));
File renamed without changes.

examples/user/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
- [Update Username](UpdateUsername.java)
3434

3535
## Security Settings Examples
36-
- [Get Enforced TLS](GetEnforedTLS.java)
36+
- [Get Enforced TLS](GetEnforcedTLS.java)
3737
- [Update Enforced TLS](UpdateEnforcedTLS.java)
3838

3939
## Webhook Settings Examples

src/main/java/com/sendgrid/RateLimitException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public Request getRequest() {
3030
}
3131

3232
/**
33-
* Get the number of times the action was attemted.
33+
* Get the number of times the action was attempted.
3434
*
3535
* @return the retry count.
3636
*/

src/main/java/com/sendgrid/helpers/mail/Mail.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public List<Personalization> getPersonalization() {
236236
}
237237

238238
/**
239-
* Add a personalizaton to the email.
239+
* Add a personalization to the email.
240240
*
241241
* @param personalization a personalization.
242242
*/
@@ -506,7 +506,7 @@ public void setReplyTo(Email replyTo) {
506506
}
507507

508508
/**
509-
* Create a string represenation of the Mail object JSON.
509+
* Create a string representation of the Mail object JSON.
510510
*
511511
* @return a JSON string.
512512
* @throws IOException in case of a JSON marshal error.
@@ -521,7 +521,7 @@ public String build() throws IOException {
521521
}
522522

523523
/**
524-
* Create a string represenation of the Mail object JSON and pretty print it.
524+
* Create a string representation of the Mail object JSON and pretty print it.
525525
*
526526
* @return a pretty JSON string.
527527
* @throws IOException in case of a JSON marshal error.

src/test/java/com/sendgrid/helpers/AttachmentBuilderTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ public void testCreateAttachments() {
1818
String content = "This test checks if the builder works fine";
1919
InputStream contentStream = new ByteArrayInputStream(content.getBytes(Charset.forName("UTF-8")));
2020
String contentId = "someId";
21-
String dispositon = "someDisposition";
21+
String disposition = "someDisposition";
2222

2323
Attachments attachments = new Attachments.Builder(fileName, contentStream)
2424
.withType(type)
2525
.withContentId(contentId)
26-
.withDisposition(dispositon)
26+
.withDisposition(disposition)
2727
.build();
2828

2929
Assert.assertEquals(attachments.getType(), type);
3030
Assert.assertEquals(attachments.getFilename(), fileName);
3131
Assert.assertEquals(attachments.getContentId(), contentId);
32-
Assert.assertEquals(attachments.getDisposition(), dispositon);
32+
Assert.assertEquals(attachments.getDisposition(), disposition);
3333
Assert.assertEquals(attachments.getContent(), Base64.encodeBase64String(content.getBytes(Charset.forName("UTF-8"))));
3434
}
3535

0 commit comments

Comments
 (0)