Merge branch 'master' into 7.0.x

This commit is contained in:
Clément Fournier committed 2021-03-05 15:14:13 +01:00
commit d5e28bb591
1 file changed
+11
@@ -213,6 +213,17 @@ public class MethodReturnsInternalArrayCase {
]]></code>
</test-code>
<test-code>
<description>nonempty static final fields</description>
<expected-problems>1</expected-problems>
<code><![CDATA[
public class MyClass {
private static final String[] FOO_BAR = new String[] { "foo", "bar" };
public final String[] call() { return FOO_BAR; }
}
]]></code>
</test-code>
<test-code>
<description> #1738 MethodReturnsInternalArray in inner classes</description>
<expected-problems>1</expected-problems>