Skip to content

Commit 15e5db1

Browse files
committed
[#1197] fix 'MethodDeclaration/@MethodName' deprecation warning
1 parent 4cf643c commit 15e5db1

File tree

1 file changed

+1
-1
lines changed
  • qulice-pmd/src/main/resources/com/qulice/pmd

1 file changed

+1
-1
lines changed

qulice-pmd/src/main/resources/com/qulice/pmd/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
183183
(./PrimaryPrefix[@ThisModifier=true()]) and
184184
(./PrimarySuffix[
185185
@Image=./ancestor::ClassOrInterfaceBody[1]/ClassOrInterfaceBodyDeclaration/FieldDeclaration[@Static=true()]/VariableDeclarator/VariableDeclaratorId/@Name
186-
or @Image=./ancestor::ClassOrInterfaceBody[1]/ClassOrInterfaceBodyDeclaration/MethodDeclaration[@Static=true()]/@MethodName
186+
or @Image=./ancestor::ClassOrInterfaceBody[1]/ClassOrInterfaceBodyDeclaration/MethodDeclaration[@Static=true()]/@Name
187187
])
188188
]
189189
]]></value>

0 commit comments

Comments
 (0)