[GitHub] [spark] LuciferYang commented on pull request #39250: [SQL][MINOR] Use Diamond operator for constructing HashMap

2022-12-28 Thread GitBox
LuciferYang commented on PR #39250: URL: https://github.com/apache/spark/pull/39250#issuecomment-130173 We can use IJ inspections `Java | Java language level migration aids | Java 7 | Explicit type can be replaced with '<>'` to find all -- This is an automated message from the

[GitHub] [spark] LuciferYang commented on pull request #39250: [SQL][MINOR] Use Diamond operator for constructing HashMap

2022-12-27 Thread GitBox
LuciferYang commented on PR #39250: URL: https://github.com/apache/spark/pull/39250#issuecomment-1366426696 for example https://github.com/apache/spark/blob/87a235c2143449bd8da0acee4ec3cd3155bb/sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java#L168