From 10fcc35ab77af9ae51a250071d5b37b546846de4 Mon Sep 17 00:00:00 2001 From: Joao Pedro Truchinski Borba Date: Sat, 16 Dec 2023 16:33:11 -0300 Subject: [PATCH] upd: unused variable --- .../java/io/github/jpdev/asaassdk/rest/action/Creator.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/io/github/jpdev/asaassdk/rest/action/Creator.java b/src/main/java/io/github/jpdev/asaassdk/rest/action/Creator.java index 2c6f3e2..0b30176 100644 --- a/src/main/java/io/github/jpdev/asaassdk/rest/action/Creator.java +++ b/src/main/java/io/github/jpdev/asaassdk/rest/action/Creator.java @@ -6,12 +6,8 @@ import io.github.jpdev.asaassdk.http.AsaasRestClient; import io.github.jpdev.asaassdk.http.Response; -import com.fasterxml.jackson.databind.ObjectMapper; - public abstract class Creator { - private final ObjectMapper objectMapper = new ObjectMapper(); - public T create() { return create(Asaas.getRestClient()); } @@ -34,5 +30,6 @@ private T parseResponse(AsaasRestClient client, Response response) { } public abstract String getResourceUrl(); + public abstract Class getResourceClass(); }