mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 12:50:56 +07:00
9 lines
190 B
Java
9 lines
190 B
Java
// "Wrap argument using 'String.valueOf()'" "true-preview"
|
|
import java.util.*;
|
|
|
|
class Demo {
|
|
void test(int value) {
|
|
Optional<String> optStr = Optional.of(String.valueOf(value));
|
|
}
|
|
}
|