mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
10 lines
191 B
Java
10 lines
191 B
Java
// "Remove redundant cast(s)" "true-preview"
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
{
|
|
Stream.of(1,2,3)
|
|
.map(Integer.class::<caret>cast)
|
|
.forEach(System.out::println)
|
|
}
|
|
} |