Commit Graph

111 Commits

Author SHA1 Message Date
Oleg Sukhodolsky a30cd217f3 Implementation for NestedIfDepthCheck and NestedTryDepthCheck.
Thanks Simon.
2003-06-28 20:02:25 +00:00
Rick Giles 71d92d649f check that a class that defines a covariant equals method also overrides
equals(java.lang.Object)
2003-06-26 16:19:46 +00:00
Lars Kühne b19b59296f added docs for StringLiteralEquality 2003-06-26 04:43:28 +00:00
Oliver Burn 3a75454e8d Added CyclomaticComplexityCheck from Simon Harris.
Refactored quite a bit
2003-06-24 12:35:40 +00:00
Lars Kühne 731b581a1c Added excludes property to AvoidStarImport, request 744955
contributed by Bill Schneider
2003-06-23 21:11:23 +00:00
Oliver Burn e03dab4d1f Patch from Matt Quail to stop the ugly hack of having hard
coded constants in TokenTypes. The big risk was that when
the grammar changed, the generated constants could
change. (patch 757846)
2003-06-21 12:34:01 +00:00
Oleg Sukhodolsky f4a85d495c Fix for bug#755744 2003-06-20 08:51:47 +00:00
Oliver Burn db5ec5f654 Nice patch from Matt Quail to DetailAST to replace all the repeated int[] array construction with a BitSet. 2003-06-19 13:20:33 +00:00
Oleg Sukhodolsky 41758923b8 Fix for [ 694111 ] Syntax error crashes Checkstyle. Update for release notes missed from previous putback 2003-06-14 17:07:26 +00:00
Rick Giles ca5c92f2e7 Added ignoreFormat property to HiddenFieldCheck (request 748830). 2003-06-12 17:30:23 +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
Oliver Burn 75a289111e bug-750348: removed broken support for checking typecasts 2003-06-09 05:17:39 +00:00
Lars Kühne bd5093dcc1 added new feature AnonInnerLength 2003-06-07 08:38:42 +00:00
Rick Giles 679f818267 fixed NumberFormatException in MagicNumberCheck (bug 748913) 2003-06-04 16:08:36 +00:00
Oleg Sukhodolsky a395eeeb9b fix for 748028 (PackageName documentation error). Removing one extra slash from default value of format property. 2003-06-03 11:51:32 +00:00
Rick Giles 4981978ee2 Corrected bug 747530, inner class fields interpreted as local variables.
Incorporated catch parameters as local variables.
2003-06-02 18:06:35 +00:00
Rick Giles 17f01c9f0c fixed bug 747400, EmptyBlock does not accept stmt option 2003-06-02 09:17:59 +00:00
Rick Giles e01e5e09c1 added docs for severity (bug 745937) 2003-05-31 12:17:41 +00:00
Oleg Sukhodolsky 1878e21451 Added check for uncommented main methods (debugging leftovers). (module UncommentedMain,request 732257) 2003-05-30 19:35:55 +00:00
Rick Giles e8ad93aea6 corrected false MagicNumberCheck errors for interfaces (bug 745941)
MagicNumberCheck now checks array initializers. (request 745949)
2003-05-30 10:37:35 +00:00
Lars Kühne 38b9cdcf6e fixed bug #743973, typo in HideUtilityClassContructor docs 2003-05-29 06:19:05 +00:00
Oleg Sukhodolsky 55512ae033 Added check for trailing comma in array initialization. (module ArrayTrailingComma, request 696301) 2003-05-29 03:30:44 +00:00
Rick Giles 45ce38623f finish custom listeners documentation 2003-05-28 11:56:41 +00:00
Oliver Burn 5133219581 Fixed NPE when running ArrayTypeStyle check (bug 744573) 2003-05-28 08:40:16 +00:00
Oliver Burn eaa7b83bc9 Add template for the next release 2003-05-27 10:21:41 +00:00
Rick Giles 9bb2ad91c9 renamed DesignForInheritanceCheck to DesignForExtensionCheck 2003-05-22 23:25:22 +00:00
Rick Giles 1e67ec5577 Incorporated patch from Bill Schneider to add property to
GenericIllegalRegexpCheck for case-insensitive matches
(request 740112).
2003-05-21 13:39:23 +00:00
Rick Giles cb5ab77359 document patch by Dale King for request 740545 2003-05-20 16:30:25 +00:00
Oliver Burn 8cf07f17e8 RFE 739881: Moved the location of the file
checkstyle_packages.xml to be in the directory
com/puppycrawl/tools/checkstyle. This is to work around
a bug in NetBeans.
2003-05-20 13:30:41 +00:00
Lars Kühne 1624dcb01e note about bugfix for 724573 2003-05-20 05:40:25 +00:00
Oliver Burn 2f98a4aa29 Document bug fixed about closing files 2003-05-19 03:22:43 +00:00
Oleg Sukhodolsky 896b671caa Added property for GenericIllegalRegexp to customize reported message.
(module GenericIllegalRegexp, property message, request 738567)
2003-05-17 18:09:28 +00:00
Oliver Burn 93277b0730 Cosmetic changes 2003-05-14 07:47:41 +00:00
Oleg Sukhodolsky bb0a041a3a Added check for redundant exceptions in
throws clause (module RedundantThrows, request 579056)
2003-05-14 03:18:33 +00:00
Lars Kühne bf6758b29d documentation improvements from Peter Dobratz 2003-05-11 07:31:23 +00:00
Rick Giles b59648d605 Added line and column numbers to configuration parse exceptions
(request 714962).
2003-05-10 15:17:54 +00:00
Rick Giles 61e6ce5ee7 Added "source" attribute to "error" element of XMLLogger output. 2003-05-10 10:59:20 +00:00
Oleg Sukhodolsky 4e1f8ef98e One more option for JavadocMethodCheck
(allowThrowsTagsForSubclasses, request 540383)
2003-05-09 18:14:25 +00:00
Rick Giles 40e9a0a4ea moved bug fix to correct release number (3.1) 2003-05-09 13:24:56 +00:00
Rick Giles 5156e90846 noted resolved bug 713845 2003-05-08 12:48:04 +00:00
Rick Giles fdc9cc3713 added item for MagicNumberCheck 2003-05-07 17:11:56 +00:00
Lars Kühne 9a9e7318a3 added note for empty statement check
Oleg has joined the team
2003-05-06 05:40:43 +00:00
Lars Kühne c14a267b08 added request ID for NewLineAtEOF 2003-05-04 09:55:31 +00:00
Oliver Burn ff05a6ff5e Patch from Oleg Sukhodolsky to fix documentation. (bug 727896) 2003-04-28 12:28:29 +00:00
Oliver Burn 5ace399de6 Another quality patch from Oleg Sukhodolsky to fix TranslationCheck Test
bug. (bug 720925).
2003-04-24 08:18:53 +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
Lars Kühne 0c913a1b17 resolved HTML syntax errors in documentation (bug 721458) 2003-04-18 09:29:15 +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
Lars Kühne 1197b294ce added rfe number to severity level feature 2003-04-18 06:58:44 +00:00
Lars Kühne 6520032fd7 added NewLineAtEOF 2003-04-12 14:15:10 +00:00