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:
[email protected]
With regards,
Apache Git Services