code cleanup: xpath rule simplification

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5591 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2007-10-26 16:57:31 +00:00
parent 4691599f0b
commit b4f4e3c098

View File

@ -425,11 +425,7 @@ public class MyClass {
<property name="xpath">
<value>
<![CDATA[
//PrimitiveType[
starts-with(@Image,'short')
and
ends-with(@Image,'short')
]
//PrimitiveType[@Image = 'short']
]]>
</value>
</property>