mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IG: more consistent inspection name
This commit is contained in:
+2
-2
@@ -1874,8 +1874,8 @@ array.hash.code.display.name='hashCode()' called on array
|
||||
array.hash.code.problem.descriptor=<code>#ref()</code> called on array should probably be 'Arrays.hashCode()' #loc
|
||||
arrays.deep.hash.code.quickfix=Replace with 'Arrays.deepHashCode()'
|
||||
arrays.hash.code.quickfix=Replace with 'Arrays.hashCode()'
|
||||
method.can.be.variable.arity.method.display.name=Method can be variable arity method
|
||||
method.can.be.variable.arity.method.problem.descriptor=<code>#ref()</code> can be converted to variable arity method #loc
|
||||
method.can.be.variable.arity.method.display.name=Method can be varargs method
|
||||
method.can.be.variable.arity.method.problem.descriptor=<code>#ref()</code> can be converted to varargs method #loc
|
||||
method.can.be.variable.arity.method.ignore.byte.short.option=Ignore methods with a last parameter of type byte[] or short[]
|
||||
method.can.be.variable.arity.method.ignore.multiple.arrays.option=Ignore methods with multiple array parameters
|
||||
convert.to.variable.arity.method.quickfix=Convert to varargs method
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@ public class MethodCanBeVariableArity {
|
||||
|
||||
public void method(String... s) {}
|
||||
|
||||
public void <warning descr="'convertMe()' can be converted to variable arity method">convertMe</warning>(String[] ss) {}
|
||||
public void <warning descr="'convertMe()' can be converted to varargs method">convertMe</warning>(String[] ss) {}
|
||||
|
||||
public void convertMeNot(byte[] bs) {}
|
||||
}
|
||||
@@ -31,7 +31,7 @@ class Annotated {
|
||||
void m(String[] ss) {}
|
||||
}
|
||||
interface X {
|
||||
void <warning descr="'m()' can be converted to variable arity method">m</warning>(String[] ss);
|
||||
void <warning descr="'m()' can be converted to varargs method">m</warning>(String[] ss);
|
||||
}
|
||||
class Yes {
|
||||
void m(int[] is, int[] js) {}
|
||||
|
||||
Reference in New Issue
Block a user