diff --git a/pom.xml b/pom.xml index fb5c4ca..fbded64 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ - 1.0.0 + 1.0.1 UTF-8 1.8 5.0.0-M4 diff --git a/src/main/java/com/wildbit/java/postmark/client/data/model/messages/OutboundMessage.java b/src/main/java/com/wildbit/java/postmark/client/data/model/messages/OutboundMessage.java index 758ea84..a2bbb4e 100644 --- a/src/main/java/com/wildbit/java/postmark/client/data/model/messages/OutboundMessage.java +++ b/src/main/java/com/wildbit/java/postmark/client/data/model/messages/OutboundMessage.java @@ -17,7 +17,7 @@ public class OutboundMessage { private Date receivedAt; private String from; private String subject; - private ArrayList attachments; + private ArrayList attachments; private String status; private Boolean trackOpens; private String trackLinks; @@ -96,11 +96,11 @@ public void setSubject(String subject) { this.subject = subject; } - public ArrayList getAttachments() { + public ArrayList getAttachments() { return attachments; } - public void setAttachments(ArrayList attachments) { + public void setAttachments(ArrayList attachments) { this.attachments = attachments; } diff --git a/src/test/java/integration/DomainTest.java b/src/test/java/integration/DomainTest.java index 165ae89..cfb200c 100644 --- a/src/test/java/integration/DomainTest.java +++ b/src/test/java/integration/DomainTest.java @@ -2,18 +2,14 @@ import base.BaseTest; import com.wildbit.java.postmark.client.AccountApiClient; -import com.wildbit.java.postmark.client.ApiClient; import com.wildbit.java.postmark.client.Parameters; import com.wildbit.java.postmark.client.data.model.domains.DomainDetails; import com.wildbit.java.postmark.client.data.model.domains.Domains; -import com.wildbit.java.postmark.client.data.model.templates.*; import com.wildbit.java.postmark.client.exception.PostmarkException; import org.junit.jupiter.api.Test; import java.io.IOException; -import java.util.HashMap; -import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/src/test/java/integration/SendersTest.java b/src/test/java/integration/SendersTest.java index dc0b411..396f58a 100644 --- a/src/test/java/integration/SendersTest.java +++ b/src/test/java/integration/SendersTest.java @@ -3,8 +3,6 @@ import base.BaseTest; import com.wildbit.java.postmark.client.AccountApiClient; import com.wildbit.java.postmark.client.Parameters; -import com.wildbit.java.postmark.client.data.model.domains.DomainDetails; -import com.wildbit.java.postmark.client.data.model.domains.Domains; import com.wildbit.java.postmark.client.data.model.senders.SignatureDetails; import com.wildbit.java.postmark.client.data.model.senders.Signatures; import com.wildbit.java.postmark.client.exception.PostmarkException; diff --git a/src/test/java/integration/ServersTest.java b/src/test/java/integration/ServersTest.java index 9817438..c94a3d5 100644 --- a/src/test/java/integration/ServersTest.java +++ b/src/test/java/integration/ServersTest.java @@ -9,8 +9,6 @@ import java.io.IOException; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** diff --git a/src/test/java/unit/client/HttpClientTest.java b/src/test/java/unit/client/HttpClientTest.java index 87191e6..ce29d3e 100644 --- a/src/test/java/unit/client/HttpClientTest.java +++ b/src/test/java/unit/client/HttpClientTest.java @@ -10,7 +10,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertTrue; public class HttpClientTest { diff --git a/src/test/java/unit/data/MessageTest.java b/src/test/java/unit/data/MessageTest.java index 57cd887..12a0bff 100644 --- a/src/test/java/unit/data/MessageTest.java +++ b/src/test/java/unit/data/MessageTest.java @@ -2,16 +2,13 @@ import base.BaseTest; -import com.wildbit.java.postmark.client.Parameters; import com.wildbit.java.postmark.client.data.DataHandler; import com.wildbit.java.postmark.client.data.model.message.Message; -import com.wildbit.java.postmark.client.exception.InvalidMessageException; import org.junit.jupiter.api.Test; import java.io.File; import java.io.IOException; import java.util.ArrayList; -import java.util.Base64; import java.util.HashMap; import static org.junit.jupiter.api.Assertions.assertEquals;