cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O hEigeartaigh, Colm" <Colm.OhEigearta...@iona.com>
Subject RE: How to disable a checkstyle for a specific class
Date Mon, 03 Mar 2008 11:45:06 GMT

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:sergey.beryozkin@iona.com] 
Sent: 03 March 2008 11:39
To: cxf-dev@incubator.apache.org
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

Mime
View raw message