mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 17:58:05 -05:00
refactor(firehose): remove unused constraint formatter (#9266)
S3DestinationValidator.constraintSet(String) lost its last caller when the mapping checks moved to SmithyValidationErrors.constraintSet in #9256. Closes #9265
This commit is contained in:
1 parent
16c2505a25
commit
319d96db30
1 file changed
-6
@@ -250,12 +250,6 @@ public final class S3DestinationValidator {
|
||||
return !value.isEmpty() && value.length() <= MAPPING_MAX_LENGTH;
|
||||
}
|
||||
|
||||
private static String constraintSet(String pattern) {
|
||||
return "[Member must have length less than or equal to " + MAPPING_MAX_LENGTH
|
||||
+ ", Member must have length greater than or equal to 1"
|
||||
+ ", Member must satisfy regular expression pattern: " + pattern + "]";
|
||||
}
|
||||
|
||||
private static Serializer serializer(S3Destination config) {
|
||||
DeliveryStreamDescription.DataFormatConversionConfiguration conversion = config.getDataFormatConversionConfiguration();
|
||||
if (conversion == null || conversion.getOutputFormatConfiguration() == null) {
|
||||
|
||||
Reference in new issue
Block a user