Skip to content

Commit a5af7bd

Browse files
author
Chris Wilson
committed
* Changes JDK from 7 to 8
* Removes redundant line of code from sample
1 parent 83822bb commit a5af7bd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
language: java
22
jdk:
3-
- oraclejdk7
3+
- oraclejdk8

apps/sparkpost-samples-app/src/main/java/com/sparkpost/error/samples/SendEmailErrorSample.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ private void sendEmail(String from, String[] recipients) throws SparkPostExcepti
7676

7777
transmission.setContentAttributes(contentAttributes);
7878

79-
transmission.setContentAttributes(contentAttributes);
80-
8179
// Send the Email
8280
IRestConnection connection = new RestConnection(this.client, getEndPoint());
8381

0 commit comments

Comments
 (0)