Commit Graph

1106 Commits

Author SHA1 Message Date
Rick Giles 5c9578a108 Removed finder restrictions of LocalHomeInterfaceCheck and RemoteHomeInterfaceCheck (bug 791591) 2003-08-20 10:07:01 +00:00
Oleg Sukhodolsky 1d0c8e6e0e Documentation for DescendantToken check 2003-08-19 16:45:47 +00:00
Oleg Sukhodolsky 9837e5b5c1 MissingSwitchDefault check is refactored to use DescendantToken check 2003-08-19 10:44:12 +00:00
Oleg Sukhodolsky d3ca2e08b4 Two more tests for DescendantToken check 2003-08-19 10:42:18 +00:00
Oleg Sukhodolsky 5eff1cc83c More tests for DescendantToken check. 2003-08-19 09:31:08 +00:00
Oleg Sukhodolsky 1d1ff53c20 Moving DescendantToken check to main distribution. 2003-08-19 06:15:20 +00:00
Oleg Sukhodolsky b3f2169626 Fix for gump failure. 2003-08-19 05:20:07 +00:00
Oleg Sukhodolsky 0855fff95e Fix for NoSuchMethodError when line wrapped at dot operator (bug 790209) 2003-08-19 04:54:31 +00:00
Rick Giles dc3fc5fab0 Added property to HiddenFieldCheck to ignore the parameter of
property setter methods (request 790456).
2003-08-18 12:27:55 +00:00
Rick Giles af1b996a4e fixed bug 787672, NullPointerException in Unused... checks 2003-08-16 10:54:41 +00:00
Rick Giles 60847a32d5 fixed bug 788106, MagicNumberCheck does not permits negative constants 2003-08-13 23:59:39 +00:00
Oleg Sukhodolsky 7f7db38a09 IndentationCheck: Some refactoring and fixes for some TODOs and bugs. 2003-08-12 19:19:00 +00:00
Rick Giles 113ea8405c Corrected RedundantModifierCheck error for public modifier of a
method defined in an inner implementation (bug 784814).
2003-08-10 10:39:33 +00:00
Rick Giles 927ec62235 fixed NoSuchElementException in JavadocStyleCheck (bug 785514) 2003-08-09 16:46:25 +00:00
Oleg Sukhodolsky 15b8debf99 Fix for 784015 (Unable to get class information errors). 2003-08-07 08:46:51 +00:00
Lars Kühne bb1db4938c fixed bug #772832, Confusion about class named 'Boolean' 2003-08-03 13:22:44 +00:00
Rick Giles 2d1687465f minor technical correction to documentation 2003-08-02 15:57:55 +00:00
Rick Giles 1fd06d9c06 Added example of checking for leading '0' in an integer literal. 2003-08-02 15:53:00 +00:00
Oleg Sukhodolsky ce1a536b29 duplicates package added to checkstyle_packages.xml Added file filtering to StrickDuplicateCodeCheck 2003-08-02 12:05:49 +00:00
Oleg Sukhodolsky cd89321522 Refactoring of RedundantThrows and JavadocMethod checks to minimize
number of "Unable to get class info" errors.
2003-08-02 12:02:31 +00:00
Rick Giles 3535f542dc Added a check for illegal token text (requests 740694 and 750633) 2003-07-26 20:16:24 +00:00
Rick Giles 8a12b000f2 Added MethodLengthCheck option for counting empty and comment lines (requests 589358 and 654039). 2003-07-26 11:32:38 +00:00
Rick Giles ee8467d367 Corrected EmptyForIteratorPadCheck errors when line wrap occurs
at the iterator, bug 777471
2003-07-25 16:13:32 +00:00
Oleg Sukhodolsky 76ed2bf2d6 normallize() has been copied and adopted from ant's sources. 2003-07-23 13:35:00 +00:00
Rick Giles 6e1e8b738d Removed redundant final modifier for methods in a final class. 2003-07-21 19:08:09 +00:00
Rick Giles 3ed2fd68f8 Enhanced RedundantModifier to check that all private methods and all methods in a
final class do not contain modifier final (discussed in request 775011)
2003-07-21 19:05:13 +00:00
Oleg Sukhodolsky e4eebb4d88 Made basedir property of Checker OS agnostic (663149) 2003-07-20 08:30:25 +00:00
Oleg Sukhodolsky 57ea0b6a11 Made basedir property of Checker OS agnostic (663149) 2003-07-20 08:17:36 +00:00
Rick Giles dd477210ae Custom listeners can be incorported as config modules,
not command line arguments and ant task elements.
2003-07-18 11:31:45 +00:00
Rick Giles 1846dacad6 field name change 2003-07-18 09:57:11 +00:00
Rick Giles 27235bb91e update SeverityMatchFilter 2003-07-16 10:19:49 +00:00
Rick Giles e9d1dff32e correct comments.
more consistent code.
2003-07-15 23:39:10 +00:00
Rick Giles beb09b076d DenyAllFilter is pointless for FilterSets 2003-07-15 20:27:26 +00:00
Rick Giles 1e7d8eef06 Refactored Filters to the way Checkstyle uses them;
i.e. a Filter accepts or rejects an Object,
and a FilterSet, not a FilterChain, aggregates Filters.
2003-07-15 20:18:02 +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
Rick Giles d917b95a01 a SuppressElement is not an AutomaticBean. 2003-07-14 11:08:51 +00:00
Rick Giles 0d636bb7bb correct checkstyle error. 2003-07-14 11:03:35 +00:00
Rick Giles f55fcd5462 Removed clutter: empty abstract class AuditEventFilter. 2003-07-14 10:58:07 +00:00
Rick Giles e55435125e corrected misspelling of "precede", bug 744342 2003-07-14 10:24:01 +00:00
Rick Giles 35e4a41c10 YACPE - Yet another copy-paste error 2003-07-14 09:24:20 +00:00
Rick Giles 4b841439a6 corrected constant reference 2003-07-14 09:13:02 +00:00
Rick Giles 0daafbddda fixed copy-paste error 2003-07-14 08:57:04 +00:00
Rick Giles 5bd9d65213 added Javadoc comment 2003-07-14 08:53:13 +00:00
Rick Giles 0fe4109620 enable setting as a module in config file 2003-07-14 08:33:24 +00:00
Rick Giles 26ac073352 enable setting as a module in config file 2003-07-14 08:24:47 +00:00
Rick Giles 21f0b07bd0 Refactor and extend filters to filter chains.
Add suppression filters.
2003-07-14 08:22:10 +00:00
Oliver Burn 8dc1a8ab99 Fix checkstyle errors 2003-07-13 10:30:23 +00:00
Oliver Burn 1c33f79ad5 being picky 2003-07-13 10:01:19 +00:00
Lars Kühne 201e6c46cd first cut at duplicate code detection tool.
TBD:
- performance optimizations
- remove basedir from secondary file name
2003-07-12 14:25:44 +00:00