Add language version attribute

Test Plan: mvn test

Reviewers: jmsotuyo

Reviewed By: jmsotuyo

Subscribers: jmsotuyo

Differential Revision: http://ph.monits.com/D12205
This commit is contained in:
Damian Techeira
2015-08-19 09:26:14 -03:00
parent 445bd2d260
commit d9d02edb06

View File

@ -130,6 +130,7 @@ public class MyClass {
<rule name="CloneMethodReturnTypeMustMatchClassName"
language="java"
minimumLanguageVersion="1.5"
since="5.4.0"
message="The return type of the clone() method must be the class name when implements Cloneable"
class="net.sourceforge.pmd.lang.rule.XPathRule"