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">
|
||||
<value>
|
||||
<![CDATA[
|
||||
//ClassOrInterfaceType
|
||||
[
|
||||
(starts-with(@Image,'Thread')
|
||||
and
|
||||
ends-with(@Image,'Thread')
|
||||
) or
|
||||
(starts-with(@Image,'Runnable')
|
||||
and
|
||||
ends-with(@Image,'Runnable') )
|
||||
]
|
||||
//ClassOrInterfaceType[@Image = 'Thread' or @Image = 'Runnable']
|
||||
]]>
|
||||
</value>
|
||||
</property>
|
||||
|
Reference in New Issue
Block a user