mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
Improve inspection problem descriptor
GitOrigin-RevId: 8abf2188d180865951921d5ebfd9bd7bd33bfc6b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
997e1adc68
commit
54975a31ba
+1
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Map.of' call" "true"
|
||||
// "Replace with 'Map.of()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Test {
|
||||
|
||||
+1
-1
@@ -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
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Set.of' call" "true"
|
||||
// "Replace with 'Set.of()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Test {
|
||||
|
||||
+1
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'List.of' call" "true"
|
||||
// "Replace with 'List.of()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Test {
|
||||
|
||||
+1
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Map.of' call" "true"
|
||||
// "Replace with 'Map.of()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Test {
|
||||
|
||||
+1
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Set.of' call" "true"
|
||||
// "Replace with 'Set.of()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Test {
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user