Skip to content

Commit

Permalink
Make constructors public
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffxiang committed Dec 17, 2024
1 parent ddce22d commit dc4fb73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public abstract class DeadLetterQueueHandler {
private static final String SEND_TIMEOUT_MS_CONFIG_KEY = DEAD_LETTER_QUEUE_CONFIG_PREFIX + "." + "send.timeout.ms";
protected final SegmentUploaderConfiguration config;

protected DeadLetterQueueHandler(SegmentUploaderConfiguration config) {
public DeadLetterQueueHandler(SegmentUploaderConfiguration config) {
this.config = config;
validateConfig();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public class S3LocalExecutableDeadLetterQueueHandler extends DeadLetterQueueHand
public static final String PATH_CONFIG_KEY = DEAD_LETTER_QUEUE_CONFIG_PREFIX + "." + CONFIG_PREFIX + "." + "path";
private final Object failedUploadFileLock = new Object();
private final String filePath;
protected S3LocalExecutableDeadLetterQueueHandler(SegmentUploaderConfiguration config) {

public S3LocalExecutableDeadLetterQueueHandler(SegmentUploaderConfiguration config) {
super(config);
this.filePath = config.getProperty(PATH_CONFIG_KEY);
}
Expand Down

0 comments on commit dc4fb73

Please sign in to comment.