Commit Graph

1156 Commits

Author SHA1 Message Date
Lars Kühne 63e46ff75e translations for 3.2 messages
sorted lines for easier overview
2003-10-14 05:34:11 +00:00
Lars Kühne 3d588d8a9c consistent quoting of method names 2003-10-13 05:22:50 +00:00
Lars Kühne e708beb537 Strip basename from reported secondary filename in StrictDuplicateCodeCheck.
Required moving getStrippedFileName() from Checker to Utils.
2003-10-13 04:41:36 +00:00
Lars Kühne 741454e7f1 - support checking any textfile
- make min property accessible from config file
- fixed one-off error in error report
- stop bashing pmd in the docs
2003-10-12 07:29:51 +00:00
Oleg Sukhodolsky 0dfec6f430 Fixed leak in IndetationCheck (always clear the chaches ;) 2003-10-10 16:42:54 +00:00
Oleg Sukhodolsky 861e2af0e1 Changed default format for ConstantName. (see bug 807571). 2003-10-09 04:20:46 +00:00
Oleg Sukhodolsky 984eb8d742 ExplicitInitialization added to checkstyle's style. Fixed problems it found. 2003-10-08 17:46:58 +00:00
Oleg Sukhodolsky cb0ecb590e Fixed type in input file name. 2003-10-05 07:14:13 +00:00
Oleg Sukhodolsky 03c3efabf3 Check for variable explicit initialization (request 614387) 2003-10-04 17:01:27 +00:00
Oleg Sukhodolsky 868ae755c1 Fixed documentation for Indentation check. 2003-09-30 10:06:53 +00:00
Oleg Sukhodolsky 60d0673dcc Documentation for Indentation check. 2003-09-27 05:26:28 +00:00
Oleg Sukhodolsky b1123e96e4 Small refactoring to reduce cyclomatic complexity of CheckStyleTask.execute(). 2003-09-27 03:34:54 +00:00
Oleg Sukhodolsky 2a1705e70d ImportOrder check from Bill Schneider (request 745548)docs/releasenotes.html 2003-09-16 18:37:57 +00:00
Oleg Sukhodolsky 77ca904cf5 Fixed 806242 (NoWhitespaceBeforeCheck error with an interface).
Fixed 806243 (NoWhitespaceBeforeCheck error for anonymous inner
class).
Now build will fail if antlr fails to process the grammar.
2003-09-15 06:01:31 +00:00
Rick Giles f2e3dc000f style corrections 2003-09-14 22:46:27 +00:00
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 753a3a0c97 Cleaned fix for 803577 :) 2003-09-11 03:55:05 +00:00
Oleg Sukhodolsky 2acda3b127 Fix for 803577 (allowThrowsTagsForSubclasses/allowMissingThrowsTag interfere) 2003-09-11 03:53:51 +00:00
Oleg Sukhodolsky 3bee3800f4 Gui improvement:
Mnemonics for buttons added.
Now user can expand/collapse tree node using ENTER.
2003-09-07 17:50:10 +00:00
Oleg Sukhodolsky e21177aefe Changes missed in previous putback. 2003-09-07 12:09:33 +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
Oleg Sukhodolsky 1e7bbb8cd8 Added exception logging (see request 753883) 2003-09-03 04:35:40 +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 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 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 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