mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
WrapWithAdapterMethodCallFix: wrap with List.of() instead of Arrays.asList() on Java 9 and higher (IDEA-269380)
GitOrigin-RevId: f39f5c58348afb6b3c57dbc059860f940c6ec363
This commit is contained in:
committed by
intellij-monorepo-bot
parent
358da7cc4e
commit
223eeb0b0f
@@ -1,4 +1,4 @@
|
||||
// "Wrap parameter using 'Path.of()'" "true"
|
||||
// "Wrap argument using 'Path.of()'" "true"
|
||||
import java.nio.file.*;
|
||||
|
||||
class Test {
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
// "Wrap parameter using 'Paths.get()'" "false"
|
||||
import java.nio.file.*;
|
||||
|
||||
class Test {
|
||||
|
||||
void m() {
|
||||
Files.readString("path");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Wrap parameter using 'Path.of()'" "true"
|
||||
// "Wrap argument using 'Path.of()'" "true"
|
||||
import java.nio.file.*;
|
||||
|
||||
class Test {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Wrap parameter using 'Paths.get()'" "false"
|
||||
// "Wrap argument using 'Paths.get()'" "false"
|
||||
import java.nio.file.*;
|
||||
|
||||
class Test {
|
||||
|
||||
Reference in New Issue
Block a user