I just got maven jalopy working, and I got a jalopy.xml of the standard sun
standards.
I formatted all my code but then checkstyle went from 40 errors to >700
errors.
Many of which are related to braces.
'(' is followed by
whitespace.238<file:///C:/temp/site-1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#238>[image:
error]')' is preceded with
whitespace.238<file:///C:/temp/site-1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#238>[image:
error]'if' construct must use
'{}'s.240<file:///C:/temp/site-1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#240>[image:
error]'(' is followed by
whitespace.240<file:///C:/temp/site-1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#240>[image:
error]')' is preceded with
whitespace.240<file:///C:/temp/site-1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#240>[image:
error]'if' construct must use
'{}'s.242<file:///C:/temp/site-1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#242>[image:
error]'(' is followed by
whitespace.242<file:///C:/temp/site-1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#242>[image:
error]')' is preceded with
whitespace.242<file:///C:/temp/site-1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#242>[image:
error]'if' construct must use '{}'s.
So, what should I do? Should I ask for help to get a checkstyle.xml template
that is more aligned with my jalopy.xml.
Or should I modify my jalopy.xml to use the brace specification that
checkstyle is complaining about?
--
---
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---