Commit Graph

1618 Commits

Author SHA1 Message Date
Lars Kühne 5fa9891d4b we now use jakarta-regexp 1.3 2003-11-05 05:16:08 +00:00
Oleg Sukhodolsky 778e844080 Added removeListener() and removeFilter() to Checker (bug 834367) 2003-11-05 04:26:12 +00:00
Oliver Burn e63e42c7d6 Ensure do not pick up the ANT runtime in compilations. This was the cause of a
very subtle bug at work recently. Personally I think the ANT default behaviour
is wrong.
2003-11-03 11:48:14 +00:00
Oleg Sukhodolsky 5f229dca29 Fixed HiddenFieldCheckTest failure (added expected messages). 2003-11-02 10:10:42 +00:00
Lars Kühne 08a76dba14 fixed bug 824754 2003-10-27 06:14:36 +00:00
Rick Giles 84d33e55d9 Fixed HiddenFieldCheck error for a local variable of a static
method with same name as an instance field(bug 827713)
2003-10-27 00:32:00 +00:00
Lars Kühne 066696714b bugfix for #824754, HideUtilityConstructor should not apply to subclasses 2003-10-26 22:10:00 +00:00
Lars Kühne 60ecfe9c06 documented StrictDuplicate code check and incompatible API change 2003-10-24 05:43:11 +00:00
Oleg Sukhodolsky 33f7597720 Undo for ClassLoader fix. 2003-10-21 04:31:40 +00:00
Oleg Sukhodolsky 66325cbd72 Now PackageObjectFactory uses custom class loader. 2003-10-19 12:01:49 +00:00
Oleg Sukhodolsky 2f5b39d41f Removing unexpected ^Ms from the code. 2003-10-16 06:13:41 +00:00
Lars Kühne b0bdff0e9b fixed typo in resource key 2003-10-15 19:05:39 +00:00
Lars Kühne fe7f145c44 added translations for messages new in release 3.2 2003-10-14 05:40:27 +00:00
Lars Kühne 09a0a297fe removed duplicate entry 2003-10-14 05:34:59 +00:00
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
Lars Kühne e16c4a8259 spec for StrictDuplicateCode 2003-10-12 07:15:52 +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
Oliver Burn 1bb0fb09a3 Upgraded to jakarta-regexp-1.3. 2003-10-08 13:02:30 +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 194f86d218 Release notes update. 2003-10-04 01:28:58 +00:00
Oleg Sukhodolsky 868ae755c1 Fixed documentation for Indentation check. 2003-09-30 10:06:53 +00:00
Lars Kühne 2200323756 fixed typos and html layout 2003-09-28 05:27:00 +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 ee987808d1 Update for releasenotes 2003-09-22 12:47:03 +00:00
Rick Giles 0527cab338 documented optional Checks (bug 806961) 2003-09-21 14:11:28 +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 a18c824008 Now we pack usage and j2ee checks in checkstyle-XXX-optional.jar 2003-09-16 06:25:19 +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 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
Oleg Sukhodolsky b0bed93511 Do not create javadoc for transmogrify (too many warnings). 2003-09-02 02:59:48 +00:00