mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 20:45:15 +07:00
10 lines
267 B
Java
10 lines
267 B
Java
// "Replace Collections.singleton().stream() with Stream.of()" "true"
|
|
|
|
import java.util.*;
|
|
import java.util.stream.Stream;
|
|
|
|
class CollectionSingletonArrayStream {
|
|
Stream<String[]> stream(String[] args) {
|
|
return Collections.singleton(args).str<caret>eam();
|
|
}
|
|
} |