Skip to content

Commit c24f964

Browse files
authored
[hotfix][javadoc] Fix invalid comments in Committer class
1 parent 69edc37 commit c24f964

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

flink-core/src/main/java/org/apache/flink/api/connector/sink2/Committer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
@Public
3939
public interface Committer<CommT> extends AutoCloseable {
4040
/**
41-
* Commit the given list of {@link CommT}.
41+
* Commit the given collection of {@link CommitRequest}.
4242
*
43-
* @param committables A list of commit requests staged by the sink writer.
43+
* @param committables A collection of commit requests staged by the sink writer.
4444
* @throws IOException for reasons that may yield a complete restart of the job.
4545
*/
4646
void commit(Collection<CommitRequest<CommT>> committables)
@@ -49,7 +49,7 @@ void commit(Collection<CommitRequest<CommT>> committables)
4949
/**
5050
* A request to commit a specific committable.
5151
*
52-
* @param <CommT>
52+
* @param <CommT> The type of information needed to commit the staged data
5353
*/
5454
@Public
5555
interface CommitRequest<CommT> {

0 commit comments

Comments
 (0)