I'm facing the same checkstyle error too.

My configuration is:

[/home/opalka]>mvn -version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /home/opalka/java/maven/3.0.3
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.3.6-3.fc16.x86_64", arch: "amd64", family: "unix"

Rio

On 05/22/2012 06:13 PM, Daniel Kulp wrote:
Interesting... I'm not seeing a checkstyle failure it with Java 7 or in
Eclipse either.   (using Maven 3.0.4 though)  Honestly, not sure what would
cause the difference.   Bizarre.   Feel free to fix though.  Someone else
may run into it.

Dan


On Tuesday, May 22, 2012 03:44:05 PM Willem Jiang wrote:
I tried to run full test on my box. JDK 1.6 with Maven 3.0.3.
I got the a check style error
cxf/branches/2.5.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addres
sing/ContextUtils.java:492:33: Nested if-else depth is 4 (max allowed is
3).
Audit done.

I checked the CI it doesn't have this error report.  It looks like JDK
1.5 doesn't show this kind of error.
I just committed a work around[1] before we decide to change the check
style configuration file.

[1]http://svn.apache.org/viewvc?rev=1341332&view=rev

On Wed Apr 25 02:42:14 2012, dk...@apache.org wrote:

--
Richard Opalka
JBoss, by Red Hat
Cell: +420 731 186 942

Reply via email to