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