mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-23 15:01:27 +07:00
warn if lambda -> method ref fix can change semantics (IDEA-CR-16052)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// "Replace lambda with method reference" "true"
|
||||
// "Replace lambda with method reference (may change semantics)" "true"
|
||||
class Example {
|
||||
public void m() {
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace lambda with method reference" "true"
|
||||
// "Replace lambda with method reference (may change semantics)" "true"
|
||||
import java.util.*;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace lambda with method reference" "true"
|
||||
// "Replace lambda with method reference (may change semantics)" "true"
|
||||
class Example {
|
||||
public void m() {
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace lambda with method reference" "true"
|
||||
// "Replace lambda with method reference (may change semantics)" "true"
|
||||
import java.util.*;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user