Commit Graph

1251 Commits

Author SHA1 Message Date
Rick Giles 1658656fa2 Generate LPAREN, RPAREN for METHOD_DEF parameters.
These are needed for ParenPadCheck, as indicated by RFE 734111.
I'm not very skilled with antlr, so could someone else please check the
changes.
2003-05-07 23:42:00 +00:00
Rick Giles fdc9cc3713 added item for MagicNumberCheck 2003-05-07 17:11:56 +00:00
Rick Giles 7284e8aa42 magic number check. RFE 564206 2003-05-07 16:57:32 +00:00
Rick Giles f8adbfac28 Compare mArgs in order to handle checks such as
TranslationCheck that can fire the same error for the same location
with different arguments.
2003-05-06 15:46:15 +00:00
Rick Giles 8d6a11074c Fixed bug in which a check logs multiple LocalizedMessages with identical
line, column, and key; and only the first such message is added. For
example, this occurs with TranslationCheck.
2003-05-06 12:16:47 +00:00
Rick Giles d025e33b24 Added keys for TranslationCheck. Still requires true translation. 2003-05-06 09:40:35 +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 ebc06c9c2e added docs for EmptyStatement 2003-05-06 05:34:49 +00:00
Lars Kühne 29d0d4bd29 fixed typo 2003-05-06 05:23:11 +00:00
Lars Kühne 545d94fdce added translation for empty.statement 2003-05-06 05:22:28 +00:00
Lars Kühne 4c1197e35d added comments for the regexp values 2003-05-06 05:09:30 +00:00
Lars Kühne a2e58a8d5f added example for finding trailing whitespace 2003-05-06 04:58:40 +00:00
Rick Giles c58ee3398f fixed checkstyle error 2003-05-05 23:42:11 +00:00
Rick Giles 30d7bc96b0 Empty Statement Check 2003-05-05 23:13:28 +00:00
Rick Giles fc846abfd0 Undo of incorrect changes. 2003-05-05 22:56:56 +00:00
Rick Giles 2d4604aba6 updated expected exception messages 2003-05-05 22:50:38 +00:00
Oliver Burn e9b6614e56 Fix Clover link as requested 2003-05-05 04:04:25 +00:00
Oliver Burn beb7953571 Added reference to the new documents 2003-05-05 03:31:18 +00:00
Lars Kühne c14a267b08 added request ID for NewLineAtEOF 2003-05-04 09:55:31 +00:00
Lars Kühne 48761b6091 the config_misc file has become a real mess, restructured it into three documents 2003-05-04 09:54:43 +00:00
Oliver Burn 22ad233fd8 Fix inline with Oleg's comments. 2003-05-01 03:18:51 +00:00
Lars Kühne e4eee5699c docs how to contribute to the project 2003-04-30 22:41:08 +00:00
Lars Kühne e904c08607 added classloader property so the Checker is contextualized
correctly from the ant task
2003-04-30 20:26:26 +00:00
Oliver Burn ff05a6ff5e Patch from Oleg Sukhodolsky to fix documentation. (bug 727896) 2003-04-28 12:28:29 +00:00
Lars Kühne 9aab61241e added IndentationCheck, contributed by John Richardson
This check currently fails to pass checkstyle.checkstyle
because most methods are missing javadoc, I hope somebody
can help me adding it
2003-04-25 05:21:27 +00:00
Lars Kühne 1ffc5bbc39 test input file for IndentationCheck 2003-04-25 05:20:18 +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
Lars Kühne ee57742c06 added german translation for missing.switch.default 2003-04-21 07:07:30 +00:00
Oliver Burn 5382d84917 Fix errors found by the new check. 2003-04-18 11:22:01 +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 f4fb9cf0fc added german translation for final.class 2003-04-18 10:57:38 +00:00
Lars Kühne 948a7374b0 removed token types that do not appear in the tree,
as unused garbage makes the API larger and more confusing
2003-04-18 10:46:54 +00:00
Lars Kühne 0c913a1b17 resolved HTML syntax errors in documentation (bug 721458) 2003-04-18 09:29:15 +00:00
Lars Kühne c8a0d72210 reset message collector in filesetchecks 2003-04-18 09:12:33 +00:00
Oliver Burn 55fcf189eb Fix errors found by the new check. 2003-04-18 08:50:05 +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
Oliver Burn c822fc497e Max the maximum size more lax. Peter Dobratz did an amazing job documenting
the token types. Ideally would like a way to fine grain the check
2003-04-18 06:52:36 +00:00
Lars Kühne b7f58129fa fixed java sytax error in example 2003-04-18 06:32:57 +00:00
Oliver Burn c69b2f8481 Added SlickEdit reference 2003-04-16 07:19:03 +00:00
Lars Kühne 7eddfd71a0 tests for NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-15 19:56:13 +00:00
Lars Kühne 6520032fd7 added NewLineAtEOF 2003-04-12 14:15:10 +00:00
Lars Kühne 09efd9db71 tests for NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-12 14:02:07 +00:00
Lars Kühne 35139b1ca2 test files for NewLineAtEOF check
Note: These files are checked in as binary files so the unit tests are
independent of how CVS messes around with newline characters when
these files are checked out
2003-04-12 14:01:22 +00:00
Lars Kühne 6cbf99acd8 fixed docs of DesignForInheritance, static methods are now ignored 2003-04-11 04:44:18 +00:00
Lars Kühne d0f2c7d53f don't flag static methods, bugrport and fix by Christopher Lenz 2003-04-10 04:37:32 +00:00
Lars Kühne 1cc0a79b77 improved javadoc, contributed by Peter Dobratz 2003-04-08 05:19:59 +00:00
Lars Kühne 002b55c219 added NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-06 12:27:55 +00:00
Lars Kühne 59aa156470 added NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-06 12:16:03 +00:00
Lars Kühne 168901fbd8 error message for NewLineAtEOF check 2003-04-06 11:01:18 +00:00