From 672f9216dddd8c4b5152dca2834a593f5a3a0209 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 22 Sep 2017 15:16:35 +0200 Subject: [PATCH] Simplify grammar: TypeArguments is not used here, it's resolved as a child by ClassOrInterfaceType already --- pmd-java/etc/grammar/Java.jjt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-java/etc/grammar/Java.jjt b/pmd-java/etc/grammar/Java.jjt index c3910615c0..f4c747ba3b 100644 --- a/pmd-java/etc/grammar/Java.jjt +++ b/pmd-java/etc/grammar/Java.jjt @@ -1963,7 +1963,7 @@ void AllocationExpression(): (LOOKAHEAD(2) PrimitiveType() ArrayDimsAndInits() | - ClassOrInterfaceType() [ TypeArguments() ] + ClassOrInterfaceType() ( ArrayDimsAndInits() |