Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/redundantArrayForVarargsCall/afterSeveralValues.java
Fabrice Tiercelin c2b459a91e [java-inspections] IDEA-289267 Change highlight to unused code on RedundantArrayForVarargsCall and RedundantLambdaParameterType
Also, new tests

GitOrigin-RevId: 5dbb45fc400ba8de0a360e05a4eaf0aee07e0e83
2023-06-16 20:28:52 +00:00

10 lines
252 B
Java

// "Remove explicit array creation" "true"
import java.util.Arrays;
import java.util.List;
import java.util.Date;
public class RedundantArrayForVarargsCall {
public List<Date> severalValues() {
return Arrays.asList(new Date(), new Date());
}
}