commit | 23b53b4db1720fc365cc18eeb6bc2600a9ef368d | [log] [tgz] |
---|---|---|
author | Daniel Sun <sunlan@apache.org> | Sun Dec 08 02:03:03 2019 +0800 |
committer | Daniel Sun <sunlan@apache.org> | Sun Dec 08 02:03:03 2019 +0800 |
tree | a7553cc90b86565c67898977a02240550f328c98 | |
parent | 318737bb0ff8947c8fbf15e40ed447a9c8aee161 [diff] |
Avoid unnecessary capturing the instance of enclosing class If the lambda expression does not access the instance of enclosing class, e.g. no instance fields or instance methods accessed, the instance of enclosing class need not to be captured.