WrapObjectWithOptionalOfNullableFix: get nullability from common dataflow

This commit is contained in:
Tagir Valeev
2018-09-28 11:13:11 +07:00
parent 003aa20f96
commit 43f52af2ba
2 changed files with 4 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ public class Test {
void m() {
long ll = 10;
f(10, Optional.ofNullable(ll), 10);
f(10, Optional.of(ll), 10);
}