mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +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
6 lines
180 B
Java
6 lines
180 B
Java
// "Adapt argument using 'new File()'" "false"
|
|
class Foo {
|
|
private static Y[] parse(Iterable<String> ss) {
|
|
return Y.toArray(X.from(ss).transform(s -> pa<caret>rse(s)));
|
|
}
|
|
} |