Skip to content

Commit

Permalink
Version Bump v4.1.1: PR #247 Added Javadocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious committed Oct 10, 2017
1 parent 68d82d9 commit 2afa519
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 20 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log
All notable changes to this project will be documented in this file.

## [4.1.1] - 2017-10-10
### Added
- PR #247 Added Javadocs.
- BIG thanks to [Andy Trimble](https://github.com/andy-trimble)

## [4.1.0] - 2017-08-16
### Added
- PR #211 Return empty collections in place of nulls
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ touch Example.java
Add the example you want to test to Example.java, including the headers at the top of the file.

``` bash
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
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
```

<a name="understanding_the_codebase"></a>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Add the following to your build.gradle file in the root of your project.
...
dependencies {
...
compile 'com.sendgrid:sendgrid-java:4.1.0'
compile 'com.sendgrid:sendgrid-java:4.1.1'
}
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apply plugin: 'maven'
apply plugin: 'signing'

group = 'com.sendgrid'
version = '4.1.0'
version = '4.1.1'
ext.packaging = 'jar'

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>com.sendgrid</groupId>
<artifactId>sendgrid-java</artifactId>
<name>SendGrid Java helper library</name>
<version>4.1.0</version>
<version>4.1.1</version>
<description>This Java module allows you to quickly and easily send emails through SendGrid using Java.</description>
<url>https://github.com/sendgrid/sendgrid-java</url>
<licenses>
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/sendgrid/SendGrid.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public class SendGrid {
/**
* Construct a new SendGrid API wrapper.
* @param apiKey is your SendGrid API Key: https://app.sendgrid.com/settings/api_keys
* @return a SendGrid object.
*/
public SendGrid(String apiKey) {
this.client = new Client();
Expand All @@ -43,7 +42,6 @@ public SendGrid(String apiKey) {
* Construct a new SendGrid API wrapper.
* @param apiKey is your SendGrid API Key: https://app.sendgrid.com/settings/api_keys
* @param test is true if you are unit testing
* @return a SendGrid object.
*/
public SendGrid(String apiKey, Boolean test) {
this.client = new Client(test);
Expand All @@ -54,7 +52,6 @@ public SendGrid(String apiKey, Boolean test) {
* Construct a new SendGrid API wrapper.
* @param apiKey is your SendGrid API Key: https://app.sendgrid.com/settings/api_keys
* @param client the Client to use (allows to customize its configuration)
* @return a SendGrid object.
*/
public SendGrid(String apiKey, Client client) {
this.client = client;
Expand Down Expand Up @@ -138,7 +135,7 @@ public String getHost() {

/**
* Set the SendGrid host.
* @host the new SendGrid host.
* @param host the new SendGrid host.
*/
public void setHost(String host) {
this.host = host;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public class Personalization {
* Get the to list. This is an array of recipients. Each object
* within this array may contain the name, but must always
* contain the email, of a recipient.
* </p>
*
* The maximum number of entries is 1000.
* </p>
*
* Content added to the returned list will be included when sent.
* @return the to list.
*/
Expand Down Expand Up @@ -64,9 +64,9 @@ public void addTo(Email email) {
* Set the CC list. This is an array of recipients. Each object
* within this array may contain the name, but must always
* contain the email, of a recipient.
* </p>
*
* The maximum number of entries is 1000.
* </p>
*
* Content added to the returned list will be included when sent.
* @return the CC list.
*/
Expand Down Expand Up @@ -97,9 +97,9 @@ public void addCc(Email email) {
* Set the BCC list. This is an array of recipients. Each object
* within this array may contain the name, but must always
* contain the email, of a recipient.
* </p>
*
* The maximum number of entries is 1000.
* </p>
*
* Content added to the returned list will be included when sent.
* @return the BCC list.
*/
Expand Down Expand Up @@ -150,7 +150,7 @@ public void setSubject(String subject) {
* following headers: x-sg-id, x-sg-eid, received,
* dkim-signature, Content-Type, Content-Transfer-Encoding,
* To, From, Subject, Reply-To, CC, BCC
* </p>
*
* Content added to the returned list will be included when sent.
* @return the headers.
*/
Expand Down Expand Up @@ -184,9 +184,9 @@ public void addHeader(String key, String value) {
* to the subject and reply-to parameters. The total
* collective size of your substitutions may not exceed
* 10,000 bytes per personalization object.
* </p>
*
* The maximum number of entries is 1000.
* </p>
*
* Content added to the returned list will be included when sent.
* @return the substitutions.
*/
Expand Down Expand Up @@ -219,7 +219,7 @@ public void addSubstitution(String key, String value) {
* is entered into this parameter will be assumed to be
* the custom argument that you would like to be used. i
* May not exceed 10,000 bytes.
* </p>
*
* Content added to the returned list will be included when sent.
* @return the custom arguments.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void setEnable(boolean enable) {
/**
* Get the plain text to be appended to the email, with the
* subscription tracking link. You may control where
* the link is by using the tag <% %>
* the link is by using the tag &lt;% %&gt;
* @return the plain text.
*/
@JsonProperty("text")
Expand All @@ -57,7 +57,7 @@ public void setText(String text) {
/**
* Get the HTML to be appended to the email, with the
* subscription tracking link. You may control where
* the link is by using the tag <% %>
* the link is by using the tag &lt;% %&gt;
* @return the HTML.
*/
@JsonProperty("html")
Expand Down

0 comments on commit 2afa519

Please sign in to comment.