Improve inspection problem descriptor

GitOrigin-RevId: 8abf2188d180865951921d5ebfd9bd7bd33bfc6b
This commit is contained in:
Bas Leijdekkers
2021-03-18 08:40:12 +00:00
committed by intellij-monorepo-bot
parent 997e1adc68
commit 54975a31ba
38 changed files with 41 additions and 41 deletions
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Map.of' call" "true"
// "Replace with 'Map.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Map.ofEntries' call" "true"
// "Replace with 'Map.ofEntries()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Map.of' call" "true"
// "Replace with 'Map.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Map.ofEntries' call" "true"
// "Replace with 'Map.ofEntries()' call" "true"
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
@@ -1,4 +1,4 @@
// "Replace with 'Map.of' call" "true"
// "Replace with 'Map.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.Collections;
import java.util.Set;
import java.util.stream.Collectors;
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "false"
// "Replace with 'List.of()' call" "false"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "false"
// "Replace with 'List.of()' call" "false"
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'Map.of' call" "true"
// "Replace with 'Map.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Map.ofEntries' call" "true"
// "Replace with 'Map.ofEntries()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Map.of' call" "true"
// "Replace with 'Map.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Map.ofEntries' call" "true"
// "Replace with 'Map.ofEntries()' call" "true"
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
@@ -1,4 +1,4 @@
// "Replace with 'Map.of' call" "false"
// "Replace with 'Map.of()' call" "false"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Map.of' call" "true"
// "Replace with 'Map.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "false"
// "Replace with 'Set.of()' call" "false"
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "false"
// "Replace with 'Set.of()' call" "false"
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.*;
public class Test {
@@ -1,4 +1,4 @@
// "Replace with 'List.of' call" "true"
// "Replace with 'List.of()' call" "true"
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
@@ -1,4 +1,4 @@
// "Replace with 'Set.of' call" "true"
// "Replace with 'Set.of()' call" "true"
import java.util.Collections;
import java.util.Set;
import java.util.stream.Collectors;
@@ -358,10 +358,10 @@ inspection.charset.object.can.be.used.fix.family.name=Use Charset constant
inspection.charset.object.can.be.used.fix.name=Replace with ''{0}''
inspection.charset.object.can.be.used.message={0} can be used instead
inspection.collection.factories.fix.family.name=Replace with collection factory call
inspection.collection.factories.fix.name=Replace with ''{0}.{1}'' call
inspection.collection.factories.message=Can be replaced with ''{0}.{1}'' call
inspection.collection.factories.option.ignore.non.constant=Do not warn when content is non-constant
inspection.collection.factories.option.suggest.ofentries=Suggest 'Map.ofEntries'
inspection.collection.factories.fix.name=Replace with ''{0}.{1}()'' call
inspection.collection.factories.message=Can be replaced with ''{0}.{1}()'' call
inspection.collection.factories.option.ignore.non.constant=Only report when content is constant
inspection.collection.factories.option.suggest.ofentries=Suggest 'Map.ofEntries()'
inspection.collection.used.as.vararg.display.name=Iterable is used as vararg
inspection.collection.used.as.vararg.message=Iterable is passed as vararg: probably an array was intended
inspection.comparator.result.comparison.display.name=Suspicious usage of compare method