forked from phoedos/pmd
code cleanup: xpath rule simplification
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5592 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -341,16 +341,7 @@ public class SomeEJB extends EJBObject implements EJBLocalHome {
|
|||||||
<property name="xpath">
|
<property name="xpath">
|
||||||
<value>
|
<value>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
//ClassOrInterfaceType
|
//ClassOrInterfaceType[@Image = 'Thread' or @Image = 'Runnable']
|
||||||
[
|
|
||||||
(starts-with(@Image,'Thread')
|
|
||||||
and
|
|
||||||
ends-with(@Image,'Thread')
|
|
||||||
) or
|
|
||||||
(starts-with(@Image,'Runnable')
|
|
||||||
and
|
|
||||||
ends-with(@Image,'Runnable') )
|
|
||||||
]
|
|
||||||
]]>
|
]]>
|
||||||
</value>
|
</value>
|
||||||
</property>
|
</property>
|
||||||
|
Reference in New Issue
Block a user