Added settings for 'Collection without initial capacity' and 'Collection.addAll can be replaced with parametrized constructor' inspections (IDEA-148262)

This commit is contained in:
Dmitry Batkovich
2015-11-20 15:59:49 +03:00
parent 3d631c549f
commit 9ef7a5df22
14 changed files with 195 additions and 53 deletions
@@ -1,4 +1,4 @@
// "Replace 'addAll()' method with parametrized constructor call" "true"
// "Replace 'addAll/putAll' method with parametrized constructor call" "true"
import java.lang.String;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace 'addAll()' method with parametrized constructor call" "true"
// "Replace 'addAll/putAll' method with parametrized constructor call" "true"
import java.lang.String;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace 'addAll()' method with parametrized constructor call" "true"
// "Replace 'addAll/putAll' method with parametrized constructor call" "true"
import java.lang.String;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace 'addAll()' method with parametrized constructor call" "true"
// "Replace 'addAll/putAll' method with parametrized constructor call" "true"
import java.lang.String;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace 'addAll()' method with parametrized constructor call" "false"
// "Replace 'addAll/putAll' method with parametrized constructor call" "false"
import java.lang.String;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace 'addAll()' method with parametrized constructor call" "true"
// "Replace 'addAll/putAll' method with parametrized constructor call" "true"
import java.lang.String;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace 'addAll()' method with parametrized constructor call" "true"
// "Replace 'addAll/putAll' method with parametrized constructor call" "true"
import java.lang.String;
import java.util.ArrayList;
import java.util.List;