Commit Graph

1571 Commits

Author SHA1 Message Date
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
Oleg Sukhodolsky b0bed93511 Do not create javadoc for transmogrify (too many warnings). 2003-09-02 02:59:48 +00:00
Oleg Sukhodolsky ee90bc4002 Fixed problem in J2eeConfig.xml 2003-09-02 02:58:35 +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 258c092278 rename "FinalClass" to avoid configuration error with FinalClassCheck when running Main in Eclipse. 2003-08-31 11:36:18 +00:00
Rick Giles d8766886f2 Added INSTANCE_INIT to tokens for EmptyBlockCheck. 2003-08-31 10:26:42 +00:00
Rick Giles b0bb7e1b50 Correct ExecutableStatementCountCheck counts for inner members when configured for a subset of tokens. 2003-08-31 10:04:27 +00:00
Rick Giles b8f9b199ad Added ExecutableStatementCount check from Simon Harris (request 750751). 2003-08-30 21:17:41 +00:00
Rick Giles 24c00273b2 update forremoval of j2ee checks from core 2003-08-30 20:45:14 +00:00
Rick Giles d1094efc1e Expanded test input to include a constructor and initializers.
Added INSTANCE_INIT to CyclomaticComplexityCheck member tokens.
2003-08-30 20:37:49 +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 f72d8aabd4 added INSTANCE_INIT to member tokens 2003-08-29 18:45:47 +00:00
Rick Giles 32fcc5d7db documented CyclomaticComplexity (bug 783800) 2003-08-29 18:44:59 +00:00
Rick Giles 2883054e12 removed j2ee from "core" checks. 2003-08-29 15:12:37 +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 d69cc899d0 Fixed javadoc typo. 2003-08-28 06:27:39 +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
Rick Giles 3c53211c86 removed duplication of RemoteHomeInterfaceCheckTest 2003-08-22 09:37:26 +00:00
Oleg Sukhodolsky 4aaa7623e5 Fix for gump-build failure.
To Rick: Could you please look at this (I'm not a big expert in j2ee)
2003-08-21 21:16:52 +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 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 6cee5e024e Moving DescendantToken check to main distribution. 2003-08-19 06:20:47 +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
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
Oleg Sukhodolsky 15b8debf99 Fix for 784015 (Unable to get class information errors). 2003-08-07 08:46:51 +00:00