diff --git a/pmd-java/src/test/resources/net/sourceforge/pmd/ast/ParserCornerCases18.java b/pmd-java/src/test/resources/net/sourceforge/pmd/ast/ParserCornerCases18.java index b93b5a89b5..4be5843cf9 100644 --- a/pmd-java/src/test/resources/net/sourceforge/pmd/ast/ParserCornerCases18.java +++ b/pmd-java/src/test/resources/net/sourceforge/pmd/ast/ParserCornerCases18.java @@ -181,7 +181,7 @@ public class ParserCornerCases18 { return null; } - public Object createNonNullArray() { + public Object[] createNonNullArray() { return new Object @NonNull[0]; }