diff --git a/google-cloud/src/main/java/org/tweetwallfx/google/vision/ImageContentFilterStep.java b/google-cloud/src/main/java/org/tweetwallfx/google/vision/ImageContentFilterStep.java index 4a33cb50a..abbd6fb2b 100644 --- a/google-cloud/src/main/java/org/tweetwallfx/google/vision/ImageContentFilterStep.java +++ b/google-cloud/src/main/java/org/tweetwallfx/google/vision/ImageContentFilterStep.java @@ -205,7 +205,7 @@ public ImageContentFilterStep create(final FilterChainSettings.FilterStepDefinit * Param {@code checkRetweeted} a boolean flag controlling whether for a * retweet the retweeted Tweet is also checked */ - private static record Config( + public static record Config( Boolean checkRetweeted, SafeTypeConfig adult, SafeTypeConfig medical, @@ -213,7 +213,6 @@ private static record Config( SafeTypeConfig spoof, SafeTypeConfig violence) { - @SuppressWarnings("unused") public Config( final Boolean checkRetweeted, final SafeTypeConfig adult, @@ -230,7 +229,7 @@ public Config( } } - private static record SafeTypeConfig( + public static record SafeTypeConfig( GoogleLikelihood acceptableLikelyhood) { public SafeTypeConfig(final GoogleLikelihood acceptableLikelyhood) {