Skip to content

Commit

Permalink
small fix in object serilization:
Browse files Browse the repository at this point in the history
  • Loading branch information
ibalosh committed Nov 23, 2017
1 parent 2769e75 commit 8942df8
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</developers>

<properties>
<postmark.version>1.0.0</postmark.version>
<postmark.version>1.0.1</postmark.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<junit.jupiter.version>5.0.0-M4</junit.jupiter.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class OutboundMessage {
private Date receivedAt;
private String from;
private String subject;
private ArrayList<Attachment> attachments;
private ArrayList<String> attachments;
private String status;
private Boolean trackOpens;
private String trackLinks;
Expand Down Expand Up @@ -96,11 +96,11 @@ public void setSubject(String subject) {
this.subject = subject;
}

public ArrayList<Attachment> getAttachments() {
public ArrayList<String> getAttachments() {
return attachments;
}

public void setAttachments(ArrayList<Attachment> attachments) {
public void setAttachments(ArrayList<String> attachments) {
this.attachments = attachments;
}

Expand Down
4 changes: 0 additions & 4 deletions src/test/java/integration/DomainTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions src/test/java/integration/SendersTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/integration/ServersTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down
1 change: 0 additions & 1 deletion src/test/java/unit/client/HttpClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 0 additions & 3 deletions src/test/java/unit/data/MessageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8942df8

Please sign in to comment.