You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/12/31 20:16:25 UTC

[GitHub] [incubator-hudi] vinothchandar commented on a change in pull request #1159: [HUDI-479] Eliminate or Minimize use of Guava if possible

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_r362274606
 
 

 ##########
 File path: hudi-common/src/test/java/org/apache/hudi/common/table/TestHoodieTableMetaClient.java
 ##########
 @@ -120,7 +120,7 @@ public void checkArchiveCommitTimeline() throws IOException {
     HoodieInstant instant2 = new HoodieInstant(false, HoodieTimeline.COMMIT_ACTION, "2");
     HoodieInstant instant3 = new HoodieInstant(false, HoodieTimeline.COMMIT_ACTION, "3");
 
-    assertEquals(Lists.newArrayList(instant1, instant2, instant3),
+    assertEquals(Stream.of(instant1, instant2, instant3).collect(Collectors.toList()),
 
 Review comment:
   Arrays.asList()  instead? 

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