Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/patchMethodParams/afterNewFile.java
Tagir Valeev 47924b8886 [java-intentions] Better messages for wrap and adapt intentions
GitOrigin-RevId: f0a38046a71722f48f3ff1d59ea501259139237e
2022-08-03 12:19:14 +00:00

10 lines
194 B
Java

// "Adapt argument using 'new File()'" "true-preview"
import java.util.*;
import java.io.File;
class Demo {
void test(int value) {
Set<File> file = Set.of(new File("/etc/passwd"));
}
}