Lars Kühne
4c43406153
Upped dtd version to 1.2
...
Entity resolver for configuration files now handles
all previous versions of the configuration DTD locally, without
accessing the internet (bug 909987)
2004-03-06 07:15:08 +00:00
Oleg Sukhodolsky
401394cfd4
restore FileLength to default, using suppression filter instead.
2004-02-24 19:31:33 +00:00
Rick Giles
43a05ed66d
added MethodParamPadCheck
2004-01-21 01:22:20 +00:00
Oleg Sukhodolsky
984eb8d742
ExplicitInitialization added to checkstyle's style. Fixed problems it found.
2003-10-08 17:46:58 +00:00
Rick Giles
524a7eca73
Renamed "filter" package to "filters" for consistency with "checks".
...
Incorporated "filters" in package names.
2003-07-14 18:43:49 +00:00
Oliver Burn
51dae59b8d
New Javadoc style check from Chris Stillwell.
2003-07-14 12:31:52 +00:00
Oleg Sukhodolsky
50c242141a
indent.severity removed, translation.severity added to checkstyle.style target
2003-06-29 12:56:51 +00:00
Oleg Sukhodolsky
a30cd217f3
Implementation for NestedIfDepthCheck and NestedTryDepthCheck.
...
Thanks Simon.
2003-06-28 20:02:25 +00:00
Oliver Burn
3a75454e8d
Added CyclomaticComplexityCheck from Simon Harris.
...
Refactored quite a bit
2003-06-24 12:35:40 +00:00
Oliver Burn
cf089fe1a1
Fix the Checkstyle errors created by Spud's patch.
2003-06-23 11:36:07 +00:00
Oliver Burn
99ed7a7d2c
bug-750348: added check for typecast parens. Involved
...
a bit of refactoring.
2003-06-09 06:20:19 +00:00
Oleg Sukhodolsky
40de78da0f
ArrayTrailingComma added to Checkstyle style.
...
All new failures fixed.
2003-06-01 00:13:22 +00:00
Oliver Burn
8531b2b318
Fixed so that the translation check will be run, except under GUMP conditions.
2003-05-23 01:18:29 +00:00
Oleg Sukhodolsky
f0edd3eaf1
Indentation:
...
fix for indentation problems found be Indentation check.
Indentation check added to checkstyle_checkstyle.xml with "warning" severity.
2003-05-19 17:34:26 +00:00
Oliver Burn
a4d63db21d
Disabled the translation check for the moment.
...
Added a check to detect trailing whitespace as discussed today and fixed all
the resulting errors. Thank god for Emacs, I recorded a keyboard macro to fix
all the errors. Otherwise this would have been a tough task.
2003-05-14 08:11:49 +00:00
Lars Kühne
bf6758b29d
documentation improvements from Peter Dobratz
2003-05-11 07:31:23 +00:00
Oleg Sukhodolsky
4e1f8ef98e
One more option for JavadocMethodCheck
...
(allowThrowsTagsForSubclasses, request 540383)
2003-05-09 18:14:25 +00:00
Oliver Burn
cd6e8a32d2
Patch from Oleg Sukhodolsky to add MissingSwitchDefaultCheck to check that a
...
switch statement has a default clause (request 564199).
2003-04-18 11:14:48 +00:00
Oliver Burn
308d5b0294
Patch from Oleg Sukhodolsky to add FinalCheck to check that classes are
...
declared final if they only contain private constructors (request 696290).
Quite like the use of the visit/leave token methods.
2003-04-18 08:37:34 +00:00
Oliver Burn
c822fc497e
Max the maximum size more lax. Peter Dobratz did an amazing job documenting
...
the token types. Ideally would like a way to fine grain the check
2003-04-18 06:52:36 +00:00
Oliver Burn
f09c190dff
Added support for metadata in the configuration file. This required increasing
...
the version number to 1.1. I thought this made sense, even though the change
was backwardly compatible.
2003-03-29 00:29:25 +00:00
Oliver Burn
5db3630ded
Trying out the new Severity level stuff from Lars. It works really well - I
...
like it! Not sure about the IGNORE level, as it would be easier to just remove
the Check. But I guess for completeness.
2003-03-27 11:59:03 +00:00
Rick Giles
916417fc62
Check for policy of space at an empty for interator.
...
Addresses requests 565666, 583725.
ParenPad and WhitespaceAfter no longer check an empty for iterator.
Not doing so, and using check EmptyForIterator, is less complex than
providing properties for ParenPad and WhitespaceAfter.
2003-01-11 20:17:02 +00:00
Lars Kühne
2440fa45b2
removed PublicMemberNameCheck, check public members with MemberNameCheck
...
updated docs to reflect that change
2002-12-30 14:58:12 +00:00
Lars Kühne
5ce6ad4df6
ModifierCheck to ModifierOrderCheck
2002-12-29 08:46:55 +00:00
Lars Kühne
58ce4c4097
fixed bug #648708 , Misleading doc for checkUnusedThrows
...
Renamed property checkUnusedThrows to allowUndeclaredRTE to better reflect the meaning of the property.
2002-12-27 09:31:33 +00:00
Rick Giles
58af01acc8
moved property tabWidth
2002-12-25 12:05:32 +00:00
Rick Giles
f1d485ff49
configure for LeftCurly
2002-12-19 11:01:13 +00:00
Rick Giles
3411c89f4c
Removed redundant configuration
2002-12-18 16:17:50 +00:00
Rick Giles
4564aecb5c
Changed configuration XML element "config" to "module".
...
Dropped suffix "Check" in Check configurations.
2002-12-16 00:22:14 +00:00
Rick Giles
b25fe8281b
restore original LineLengthCheck ignorePattern property
2002-12-12 11:39:05 +00:00
Oliver Burn
12acba75f4
hopefully fix problems people have been having with encoding
2002-12-12 02:22:05 +00:00
Rick Giles
9dd70608be
ignorePattern "^ *\* *[^ ]+$" is too restrictive.
...
Is there a better one?
2002-12-11 00:44:32 +00:00
Oliver Burn
8dd310c982
Changes to get the header check going again. I like the
...
change that was made for the properties, it leverages
off the work we did in the 2.4 release to allow properties
to be overriden in the ANT file.
It is now possible to run the checkstyle task from any
directory - nothing is now location specific. This includes
the location of the header file or the DTDs. Good to
finally reach this milestone.
2002-12-07 12:18:57 +00:00
Rick Giles
730ade67d5
changed to regular expressions for @author and @version tags
...
- thanks to Lars for suggestion
2002-12-07 12:02:32 +00:00
Oliver Burn
2386d3e852
Implemented proper error handling for parse errors.
2002-12-07 07:09:13 +00:00
Oliver Burn
52fa475168
Changed to make the XML be validated using the DTD. The
...
DTD is located using a technique that gets it from the JAR
file. Idea "borrowed" from Struts.
2002-12-07 03:28:36 +00:00
Oliver Burn
d287d70b77
Cool! Used the ignoreFormat property to fix up checkstyle errors. Very nice.
2002-12-06 23:56:37 +00:00
Rick Giles
3088559eda
start on real DTD incorporation
2002-12-06 16:15:08 +00:00
Rick Giles
88f46c600c
start on real DTD incorporation
2002-12-06 16:04:58 +00:00
Oliver Burn
1b7dd85b3f
Finish the conversion job.
2002-12-06 06:31:06 +00:00
Rick Giles
5f0d69b64d
included OperatorWrapCheck with assignment tokens, now that
...
BeanUtils conversion of String arrays has been remedied.
2002-12-05 23:51:20 +00:00
Rick Giles
16ba5b35f9
modified for config XML and mapping names to full class names - see
...
posting to checkstyle-devel@lists.sourceforge.net
2002-12-05 18:54:28 +00:00
Oliver Burn
a9d73e7c59
Commented out the header check
2002-11-26 06:04:45 +00:00
Oliver Burn
3e5b819aa9
Added a parameter to the HeaderCheck to actually
...
specify a file. Unfortunately this is relative and hence can
only be used from the root directory. Will uncomment in
a minute.
2002-11-26 05:58:22 +00:00
Oliver Burn
bed61e1afd
Fix indentation
2002-11-25 00:42:52 +00:00
Oliver Burn
91aa657832
putting back the checkstyle settings back and now getting 67 odd errors. :-(
2002-11-22 12:37:00 +00:00
Rick Giles
cf7e4c19e3
renamed XML element "set-property" to "property"
2002-11-18 10:03:05 +00:00
Rick Giles
3c0608f33a
Wrapped GlobalProperties and CheckConfiguration[] into a Configuration
...
class. TODO: Integrate with CheckStyleTask
2002-11-15 18:18:52 +00:00
Rick Giles
4a638fc0e6
Added global-property to DTD.
...
Removed DTD from XML file until fix of ConfigurationLoader
2002-11-14 10:10:27 +00:00