From fd13a4bf21a94e8cc7ec471400a77b5d2347bd48 Mon Sep 17 00:00:00 2001 From: Maikel Steneker Date: Wed, 17 Apr 2019 16:00:38 +0200 Subject: [PATCH] Improved test cases for AssignmentToNonFinalStatic by including the expected line numbers for violations in the test cases. --- .../java/rule/errorprone/xml/AssignmentToNonFinalStatic.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/AssignmentToNonFinalStatic.xml b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/AssignmentToNonFinalStatic.xml index 249aeb6839..a0ccf0047b 100644 --- a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/AssignmentToNonFinalStatic.xml +++ b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/AssignmentToNonFinalStatic.xml @@ -8,6 +8,7 @@ clear rule violation ]]> 1 + 4 2 + 4,5