vinothchandar commented on a change in pull request #1159: [HUDI-479] Eliminate 
or Minimize use of Guava if possible
URL: https://github.com/apache/incubator-hudi/pull/1159#discussion_r362295605
 
 

 ##########
 File path: 
hudi-client/src/main/java/org/apache/hudi/table/RollbackExecutor.java
 ##########
 @@ -217,7 +216,7 @@ private HoodieRollbackStat 
mergeRollbackStat(HoodieRollbackStat stat1, HoodieRol
 
   private Map<HeaderMetadataType, String> generateHeader(String commit) {
     // generate metadata
-    Map<HeaderMetadataType, String> header = Maps.newHashMap();
+    Map<HeaderMetadataType, String> header = new HashMap<>();
 
 Review comment:
   good call. Still moving this in some form to a common class would be good.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to