forked from phoedos/pmd
Fixed LoggerIsNotStaticFinal
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3341 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -48,7 +48,11 @@ class Foo{
|
|||||||
<property name="xpath">
|
<property name="xpath">
|
||||||
<value>
|
<value>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
//VariableDeclarator[../Type/Name[@Image='Logger'] and (..[@Final='false'] or ..[@Static = 'false'] ) ]
|
//VariableDeclarator
|
||||||
|
[../Type/ReferenceType
|
||||||
|
/ClassOrInterfaceType[@Image='Logger']
|
||||||
|
and
|
||||||
|
(..[@Final='false'] or ..[@Static = 'false'] ) ]
|
||||||
]]>
|
]]>
|
||||||
</value>
|
</value>
|
||||||
</property>
|
</property>
|
||||||
|
Reference in New Issue
Block a user