IDEA-174151 'Replace with single Map method' suggests incorrect rewrites to computeIfAbsent

Option added (on by default) to disable warning if side effects are possible.
This commit is contained in:
Tagir Valeev
2017-06-08 17:41:44 +07:00
parent 24f54f7b00
commit c0f0d3c636
10 changed files with 31 additions and 18 deletions
@@ -1,4 +1,4 @@
// "Replace with 'merge' method call" "true"
// "Replace with 'merge' method call" "GENERIC_ERROR_OR_WARNING"
import java.util.Map;
public class Main {