xushiyan commented on a change in pull request #1871:
URL: https://github.com/apache/hudi/pull/1871#discussion_r467661104
##########
File path:
hudi-common/src/test/java/org/apache/hudi/common/testutils/HoodieTestUtils.java
##########
@@ -307,31 +299,26 @@ public static String createNewLogFile(FileSystem fs,
String basePath, String par
return fileID;
}
- public static void createCompactionCommitFiles(FileSystem fs, String
basePath, String... instantTimes)
- throws IOException {
- for (String instantTime : instantTimes) {
- boolean createFile = fs.createNewFile(new Path(basePath + "/" +
HoodieTableMetaClient.METAFOLDER_NAME + "/"
- + HoodieTimeline.makeCommitFileName(instantTime)));
- if (!createFile) {
- throw new IOException("cannot create commit file for commit " +
instantTime);
- }
- }
- }
-
public static void createCompactionRequest(HoodieTableMetaClient metaClient,
String instant,
- List<Pair<String, FileSlice>> fileSliceList) throws IOException {
+ List<Pair<String, FileSlice>>
fileSliceList) throws IOException {
Review comment:
Checkstyle did not complain about (or cover) it. The intellij of the new
version starts to format this way. Guess it is due to missing a checkstyle rule
for this, causing IDE format in its own way. Right now I've seen this style
exist too in the codebase.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]