snuyanzin commented on code in PR #19970:
URL: https://github.com/apache/flink/pull/19970#discussion_r1497053799


##########
flink-formats/flink-hadoop-bulk/src/test/java/org/apache/flink/formats/hadoop/bulk/AbstractFileCommitterTest.java:
##########
@@ -232,7 +227,7 @@ private void verifyFileNotExists(
         FileSystem fileSystem = FileSystem.get(basePath.toUri(), 
configuration);
         for (String targetFileName : targetFileNames) {
             assertThat(fileSystem.exists(new Path(basePath, targetFileName)))
-                    .as("Pre-committed file should not exists: " + 
targetFileName)
+                    .as("Pre-committed file should not exist: " + 
targetFileName)

Review Comment:
   very nit:
   ```suggestion
                       .as(() -> "Pre-committed file should not exist: " + 
targetFileName)
   ```
   we can use suppliers in order to concat string only in case of failure and 
do not dot it for success cases



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to