mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
10 lines
274 B
Java
10 lines
274 B
Java
// "Replace Arrays.asList().stream() with Stream.of()" "true"
|
|
|
|
import java.util.*;
|
|
import java.util.stream.Stream;
|
|
|
|
public class ArraysStreamSingleObjectElementArray {
|
|
Stream<Object[]> stream(String[] args) {
|
|
return Arrays.<Object[]>asList(args).stre<caret>am();
|
|
}
|
|
} |