Commit Graph

478 Commits

Author SHA1 Message Date
Rick Giles cdbb83775e Fixed Unused... checks don't work together (bug 805954) 2003-09-14 22:39:58 +00:00
Rick Giles 0c717ef2ab Added FinalLocalVariable check from Roland Auckenthaler and Kevin Gibbs. 2003-09-11 12:01:47 +00:00
Oleg Sukhodolsky 2acda3b127 Fix for 803577 (allowThrowsTagsForSubclasses/allowMissingThrowsTag interfere) 2003-09-11 03:53:51 +00:00
Oleg Sukhodolsky 15ccd93806 Added ParameterAssignment check contributed by Simon Harris (request 750748).
Fixed internatialization support in DeclarationOrder check.
2003-09-07 11:15:58 +00:00
Oleg Sukhodolsky d041e5226b DeclarationOrder check contibuted by Roland Auckenthaler 2003-09-06 20:14:39 +00:00
Oleg Sukhodolsky 75773acf4f Added IllegalType check from Simon Harris (request 750739).
Added getter for illegalClassNames property of IllegalCatch check.
2003-09-04 18:35:22 +00:00
Rick Giles 39c810009d Commented out HeaderCheck.
Now sun_checks.xml can be used without setting properties for property expansion.
2003-09-02 19:47:29 +00:00
Oleg Sukhodolsky a56be052af Changed configuration documentation example from checkstyle_checks.xml to sun_checks.xml (see bug 750169) 2003-09-02 17:27:52 +00:00
Rick Giles 4ba49828ac Fixed bug 798111: Unused local variables are not always detected.
Example given was caused by incorrectly considering a typecast to
be a variable reference. Types were also incorrectly considered as
variable references.
2003-09-02 09:30:51 +00:00
Rick Giles 611722a893 Fixed bug 798405 JavadocStyleCheck doesn't accept {@inheritDoc} javadoc 2003-09-01 10:10:40 +00:00
Rick Giles a00160b33c Added property to HiddenFieldCheck to ignore constructor parameters (request 798240). 2003-08-31 21:35:07 +00:00
Rick Giles 20b7faa450 Moved ExecutableStatementCountCheck to sizes package. 2003-08-31 16:26:01 +00:00
Rick Giles d8766886f2 Added INSTANCE_INIT to tokens for EmptyBlockCheck. 2003-08-31 10:26:42 +00:00
Rick Giles b8f9b199ad Added ExecutableStatementCount check from Simon Harris (request 750751). 2003-08-30 21:17:41 +00:00
Rick Giles 1952077d3e Changed configuration documentation example from checkstyle_checks.xml
to sun_checks.xml  (see bug 750169)
2003-08-29 19:12:47 +00:00
Rick Giles 32fcc5d7db documented CyclomaticComplexity (bug 783800) 2003-08-29 18:44:59 +00:00
Rick Giles 6b1ad4f2d6 corrected usage checks documentation (bug 790457) 2003-08-29 15:05:02 +00:00
Oleg Sukhodolsky 9bc9f41827 Added ThrowsCount check from Simon Harris (request 750742).
Added ReturnCount check from Simon Harris (request 750745).
Minor fixes in release notes.
2003-08-28 19:18:31 +00:00
Oleg Sukhodolsky ec796dc641 moving/renaming [Illegal]AbstractClassName check to naming package. 2003-08-28 06:50:45 +00:00
Oleg Sukhodolsky f06e7b12c3 Added IllegalAbstractClassName check (request 750749). 2003-08-27 21:14:39 +00:00
Oleg Sukhodolsky 5245c14883 Added MutableException check (request 750750).
This is a very simple algorithm, but, I believe, it catches most of
real-life problems.
2003-08-26 20:06:58 +00:00
Oleg Sukhodolsky 92d37dd95e Applying patch 783672 (Package names.xml documentation). 2003-08-26 16:21:11 +00:00
Oleg Sukhodolsky 76f1dd84bf Added JUnitTestCase check. (request 750761). 2003-08-25 18:12:12 +00:00
Oleg Sukhodolsky bdaf63e08c Added PackageDeclaration check. (request 750753). 2003-08-22 15:24:27 +00:00
Oleg Sukhodolsky 67da361a9a illegalClassNames property added to IllegalCatch check. 2003-08-21 20:55:19 +00:00
Oleg Sukhodolsky 9aa9d75107 IllegalCatchCheck (request 750746). 2003-08-21 20:04:46 +00:00
Oleg Sukhodolsky 5bac11f295 Release notes update 2003-08-20 11:50:57 +00:00
Rick Giles d468d6151d minor grammar corrections 2003-08-20 11:49:08 +00:00
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 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
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
Lars Kühne e9cc31b2ec added docs for duplicate code detection 2003-08-09 06:30:58 +00:00
Lars Kühne d974a457e1 use 3.x instead of 3.0 as the upgrade target 2003-08-09 05:46:50 +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
Oleg Sukhodolsky 1c7341013d fixed typo in config file. 2003-07-29 09:05:28 +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
Rick Giles 89188bf3eb minor HTML correction 2003-07-21 19:13:10 +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 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 524dd37a5b documentation for Filter/FilterSet 2003-07-16 10:20:46 +00:00
Rick Giles a9bfdceec2 completed Filter docs. 2003-07-15 11:10:15 +00:00