mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 00:35:33 +07:00
GitOrigin-RevId: daeeda482d7aed7cccffe661c4ecc3cbafd1c5d1
9 lines
211 B
Java
9 lines
211 B
Java
// "Replace with 'String.valueOf()'" "true"
|
|
import java.util.*;
|
|
|
|
class Tests {
|
|
String toStr(String str) {
|
|
return /*1*/Optional./*2*/ofNullable<caret>(/*3*/str +/*4*/ "bar")/*5*/.orElse(/*6*/"null");
|
|
}
|
|
}
|