mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
IDEA-228553 - added negative test on Paths.get
GitOrigin-RevId: 9062c575d25649c9d3a271c2387227e7e578d0a0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
19dd38caa1
commit
07acc2a679
@@ -0,0 +1,10 @@
|
||||
// "Wrap parameter using 'Paths.get()'" "false"
|
||||
import java.nio.file.*;
|
||||
|
||||
class Test {
|
||||
|
||||
void m() {
|
||||
Files.readString("path");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
// "Wrap parameter using 'Path.of()'" "true"
|
||||
// "Wrap parameter using 'Paths.get()'" "false"
|
||||
import java.nio.file.*;
|
||||
|
||||
class Test {
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
// "Wrap parameter using 'Paths.get()'" "false"
|
||||
import java.nio.file.*;
|
||||
|
||||
class Test {
|
||||
|
||||
void m() {
|
||||
Files.readString("<caret>path");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user