Skip to content

Commit 2afa519

Browse files
Version Bump v4.1.1: PR #247 Added Javadocs.
1 parent 68d82d9 commit 2afa519

File tree

8 files changed

+22
-20
lines changed

8 files changed

+22
-20
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [4.1.1] - 2017-10-10
5+
### Added
6+
- PR #247 Added Javadocs.
7+
- BIG thanks to [Andy Trimble](https://github.com/andy-trimble)
8+
49
## [4.1.0] - 2017-08-16
510
### Added
611
- PR #211 Return empty collections in place of nulls

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ touch Example.java
102102
Add the example you want to test to Example.java, including the headers at the top of the file.
103103

104104
``` bash
105-
javac -classpath ../repo/com/sendgrid/4.1.0/sendgrid-4.1.0-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.1.0/sendgrid-4.1.0-jar.jar:. Example
105+
javac -classpath ../repo/com/sendgrid/4.1.1/sendgrid-4.1.0-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.1.0/sendgrid-4.1.1-jar.jar:. Example
106106
```
107107

108108
<a name="understanding_the_codebase"></a>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Add the following to your build.gradle file in the root of your project.
5454
...
5555
dependencies {
5656
...
57-
compile 'com.sendgrid:sendgrid-java:4.1.0'
57+
compile 'com.sendgrid:sendgrid-java:4.1.1'
5858
}
5959
6060
repositories {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ apply plugin: 'maven'
1717
apply plugin: 'signing'
1818

1919
group = 'com.sendgrid'
20-
version = '4.1.0'
20+
version = '4.1.1'
2121
ext.packaging = 'jar'
2222

2323
allprojects {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<groupId>com.sendgrid</groupId>
1010
<artifactId>sendgrid-java</artifactId>
1111
<name>SendGrid Java helper library</name>
12-
<version>4.1.0</version>
12+
<version>4.1.1</version>
1313
<description>This Java module allows you to quickly and easily send emails through SendGrid using Java.</description>
1414
<url>https://github.com/sendgrid/sendgrid-java</url>
1515
<licenses>

src/main/java/com/sendgrid/SendGrid.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public class SendGrid {
3232
/**
3333
* Construct a new SendGrid API wrapper.
3434
* @param apiKey is your SendGrid API Key: https://app.sendgrid.com/settings/api_keys
35-
* @return a SendGrid object.
3635
*/
3736
public SendGrid(String apiKey) {
3837
this.client = new Client();
@@ -43,7 +42,6 @@ public SendGrid(String apiKey) {
4342
* Construct a new SendGrid API wrapper.
4443
* @param apiKey is your SendGrid API Key: https://app.sendgrid.com/settings/api_keys
4544
* @param test is true if you are unit testing
46-
* @return a SendGrid object.
4745
*/
4846
public SendGrid(String apiKey, Boolean test) {
4947
this.client = new Client(test);
@@ -54,7 +52,6 @@ public SendGrid(String apiKey, Boolean test) {
5452
* Construct a new SendGrid API wrapper.
5553
* @param apiKey is your SendGrid API Key: https://app.sendgrid.com/settings/api_keys
5654
* @param client the Client to use (allows to customize its configuration)
57-
* @return a SendGrid object.
5855
*/
5956
public SendGrid(String apiKey, Client client) {
6057
this.client = client;
@@ -138,7 +135,7 @@ public String getHost() {
138135

139136
/**
140137
* Set the SendGrid host.
141-
* @host the new SendGrid host.
138+
* @param host the new SendGrid host.
142139
*/
143140
public void setHost(String host) {
144141
this.host = host;

src/main/java/com/sendgrid/helpers/mail/objects/Personalization.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ public class Personalization {
3131
* Get the to list. This is an array of recipients. Each object
3232
* within this array may contain the name, but must always
3333
* contain the email, of a recipient.
34-
* </p>
34+
*
3535
* The maximum number of entries is 1000.
36-
* </p>
36+
*
3737
* Content added to the returned list will be included when sent.
3838
* @return the to list.
3939
*/
@@ -64,9 +64,9 @@ public void addTo(Email email) {
6464
* Set the CC list. This is an array of recipients. Each object
6565
* within this array may contain the name, but must always
6666
* contain the email, of a recipient.
67-
* </p>
67+
*
6868
* The maximum number of entries is 1000.
69-
* </p>
69+
*
7070
* Content added to the returned list will be included when sent.
7171
* @return the CC list.
7272
*/
@@ -97,9 +97,9 @@ public void addCc(Email email) {
9797
* Set the BCC list. This is an array of recipients. Each object
9898
* within this array may contain the name, but must always
9999
* contain the email, of a recipient.
100-
* </p>
100+
*
101101
* The maximum number of entries is 1000.
102-
* </p>
102+
*
103103
* Content added to the returned list will be included when sent.
104104
* @return the BCC list.
105105
*/
@@ -150,7 +150,7 @@ public void setSubject(String subject) {
150150
* following headers: x-sg-id, x-sg-eid, received,
151151
* dkim-signature, Content-Type, Content-Transfer-Encoding,
152152
* To, From, Subject, Reply-To, CC, BCC
153-
* </p>
153+
*
154154
* Content added to the returned list will be included when sent.
155155
* @return the headers.
156156
*/
@@ -184,9 +184,9 @@ public void addHeader(String key, String value) {
184184
* to the subject and reply-to parameters. The total
185185
* collective size of your substitutions may not exceed
186186
* 10,000 bytes per personalization object.
187-
* </p>
187+
*
188188
* The maximum number of entries is 1000.
189-
* </p>
189+
*
190190
* Content added to the returned list will be included when sent.
191191
* @return the substitutions.
192192
*/
@@ -219,7 +219,7 @@ public void addSubstitution(String key, String value) {
219219
* is entered into this parameter will be assumed to be
220220
* the custom argument that you would like to be used. i
221221
* May not exceed 10,000 bytes.
222-
* </p>
222+
*
223223
* Content added to the returned list will be included when sent.
224224
* @return the custom arguments.
225225
*/

src/main/java/com/sendgrid/helpers/mail/objects/SubscriptionTrackingSetting.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void setEnable(boolean enable) {
3838
/**
3939
* Get the plain text to be appended to the email, with the
4040
* subscription tracking link. You may control where
41-
* the link is by using the tag <% %>
41+
* the link is by using the tag &lt;% %&gt;
4242
* @return the plain text.
4343
*/
4444
@JsonProperty("text")
@@ -57,7 +57,7 @@ public void setText(String text) {
5757
/**
5858
* Get the HTML to be appended to the email, with the
5959
* subscription tracking link. You may control where
60-
* the link is by using the tag <% %>
60+
* the link is by using the tag &lt;% %&gt;
6161
* @return the HTML.
6262
*/
6363
@JsonProperty("html")

0 commit comments

Comments
 (0)