mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
anonymous -> method ref: collapse receiver method references to raw receiver (IDEA-153261)
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@ import java.util.List;
|
||||
class Sample {
|
||||
List<Exception> foo = new ArrayList<>();
|
||||
{
|
||||
foo.forEach(Exception::printStackTrace);
|
||||
foo.forEach(Throwable::printStackTrace);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user