Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/wrapAdapterCallInJava11/beforePathGet.java
Ilyas Selimov 286820138e IDEA-228553 - added intention action to wrap string literal by Path.of
GitOrigin-RevId: a3c3b43e9421375c6cd4e8d1980d7a13ea392167
2020-05-28 07:35:31 +03:00

10 lines
142 B
Java

// "Wrap parameter using 'Paths.get()'" "true"
import java.nio.file.*;
class Test {
void m() {
Files.readString("<caret>path");
}
}