mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 21:41:24 +07:00
Not everything is actually wrapping. E.g., converting 'long' to 'int' via 'Math.toIntExact' is definitely not wrapping. The 'adapt' word looks more abstract and suitable for all the cases. GitOrigin-RevId: 33e56b6e16a0362598ac8e3fc92ef2808a77dbe0
9 lines
163 B
Java
9 lines
163 B
Java
// "Adapt using 'toCharArray()'" "true"
|
|
import java.util.*;
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
char[] returnHelloChars() {
|
|
return "hello";<caret>
|
|
}
|
|
} |