Skip to content

Commit 6241014

Browse files
author
Scott Gerring
committed
Make clear what's not public
1 parent 0435d18 commit 6241014

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

powertools-batch/src/main/java/software/amazon/lambda/powertools/batch/BatchRequestHandler.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@
1616
* IRL, this would be implemented leaning on the {@link BatchMessageHandlerBuilder}, here
1717
* I have provided implementation inline for illustrative purposes.
1818
*
19+
* <b>Note - this is package private. We don't let users extend this, which gives us
20+
* much more flexibility to add extra functionality later by minimising our API surface
21+
* area. </b>
22+
*
1923
* @param <T> The batch event type
2024
* @param <U> The individual message type for each message within teh batch
2125
* @param <V> The batch result type
2226
*/
23-
public abstract class BatchRequestHandler<T, U, V> implements RequestHandler<T, V> {
27+
abstract class BatchRequestHandler<T, U, V> implements RequestHandler<T, V> {
2428

2529
/**
2630
* Used to wrap the result of processing a single message. We wrap the message itself,

0 commit comments

Comments
 (0)