mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
WrapArrayToArraysAsListFix, WrapLongWithMathToIntExactFix, WrapStringWithFileFix are united into WrapWithAdapterMethodCallFix. Also Paths.get(), Collections.singleton(), Collections.singletonList(), Arrays.stream() wrappers added Fixes IDEA-175129 Suggest to wrap a value with `Collections.singleton*()`
10 lines
128 B
Java
10 lines
128 B
Java
// "Wrap using 'Paths.get()'" "true"
|
|
import java.nio.file.*;
|
|
|
|
class Test {
|
|
|
|
Path m() {
|
|
return "/<caret>etc/passwd";
|
|
}
|
|
|
|
} |