Merge branch 'master' into 7.0.x
This commit is contained in:
commit
d5e28bb591
1 file changed
+11
+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>
|
||||
|
||||
Reference in new issue
Block a user