From 055ea14decc8aa8d97f994478fe04e2313a09bac Mon Sep 17 00:00:00 2001 From: redouane59 Date: Sun, 14 Feb 2021 12:53:10 +0100 Subject: [PATCH 1/2] set public classes --- .../com/github/redouane59/twitter/dto/tweet/TweetV2.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/github/redouane59/twitter/dto/tweet/TweetV2.java b/src/main/java/com/github/redouane59/twitter/dto/tweet/TweetV2.java index baeac92f..8bd9fae0 100644 --- a/src/main/java/com/github/redouane59/twitter/dto/tweet/TweetV2.java +++ b/src/main/java/com/github/redouane59/twitter/dto/tweet/TweetV2.java @@ -271,7 +271,7 @@ public TweetType getTweetType() { @Getter @Setter - private static class ReferencedTweetDTO { + public static class ReferencedTweetDTO { private TweetType type; private String id; @@ -279,14 +279,14 @@ private static class ReferencedTweetDTO { @Getter @Setter - private static class Includes { + public static class Includes { private UserV2.UserData[] users; } @Getter @Setter - private static class TweetPublicMetricsDTO { + public static class TweetPublicMetricsDTO { @JsonProperty("retweet_count") private int retweetCount; From 38b6704b5ff3e1db083f2df177244c81cced4040 Mon Sep 17 00:00:00 2001 From: redouane59 Date: Sun, 14 Feb 2021 12:57:01 +0100 Subject: [PATCH 2/2] updating version --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index fe881d8d..e5ce389c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.redouane59.twitter twittered - 1.18 + 1.19 twittered java client for twitter API @@ -153,7 +153,7 @@ com.github.scribejava scribejava-apis 8.1.0 - + org.slf4j slf4j-api