hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-hudi] yanghua commented on a change in pull request #1237: [HUDI-583] Code Cleanup, remove redundant code, and other changes
Date Sat, 01 Feb 2020 13:48:30 GMT
yanghua commented on a change in pull request #1237: [HUDI-583] Code Cleanup, remove redundant
code, and other changes
URL: https://github.com/apache/incubator-hudi/pull/1237#discussion_r373780145
 
 

 ##########
 File path: hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/hive/HoodieCombineHiveInputFormat.java
 ##########
 @@ -522,12 +519,12 @@ public int hashCode() {
     perfLogger.PerfLogBegin(CLASS_NAME, PerfLogger.GET_SPLITS);
     init(job);
 
-    ArrayList<InputSplit> result = new ArrayList<InputSplit>();
+    ArrayList<InputSplit> result = new ArrayList<>();
 
 Review comment:
   We can also use `List<InputSplit> result = new ArrayList<>();` to follow the
same code style in this file. WDYT?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message