This'll disable all checkstyle rules for a particular file. In your
pom.xml:

<properties>
        <checkstyle.excludes>
        **/org/.../Blah.java,
        </checkstyle.excludes>
</properties>

Colm.

-----Original Message-----
From: Sergey Beryozkin [mailto:[EMAIL PROTECTED] 
Sent: 03 March 2008 11:39
To: [email protected]
Subject: How to disable a checkstyle for a specific class

Hi

JAX-RS JSR311 introduces an abstract UriBuilder class which has a method

public abstract UriBuilder clone();

Checkstyle requires a concrete implementation class to do super.clone(),
which is not possible in this specific case.
How can I disable a checkstyle for a specific java file ? 

Thanks, Sergey

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
Ireland

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Reply via email to