Oleg Sukhodolsky
0eeb5e4fd6
IndentationCheck now accepts the follows "if" indenation
...
if (test
)
2003-05-15 14:25:46 +00:00
Oliver Burn
a4d63db21d
Disabled the translation check for the moment.
...
Added a check to detect trailing whitespace as discussed today and fixed all
the resulting errors. Thank god for Emacs, I recorded a keyboard macro to fix
all the errors. Otherwise this would have been a tough task.
2003-05-14 08:11:49 +00:00
Oliver Burn
93277b0730
Cosmetic changes
2003-05-14 07:47:41 +00:00
Oleg Sukhodolsky
eada48861e
IndentationCheck added to test-suite
2003-05-14 03:33:02 +00:00
Oleg Sukhodolsky
bb0a041a3a
Added check for redundant exceptions in
...
throws clause (module RedundantThrows, request 579056)
2003-05-14 03:18:33 +00:00
Rick Giles
5cf355fad4
out magic numbers
2003-05-12 09:39:31 +00:00
Oleg Sukhodolsky
eaad55fdba
Refactoring of original IndentationCheck made by Jeff Weston (Sir Toby) applied.
...
Fixed two know problems:
- with static init block (catched by testValidBlockWithChecker())
- with throws in method definition.
unit-test (testInvalidMethodWithChecker()) fixed too.
2003-05-11 07:53:03 +00:00
Lars Kühne
bf6758b29d
documentation improvements from Peter Dobratz
2003-05-11 07:31:23 +00:00
Rick Giles
b59648d605
Added line and column numbers to configuration parse exceptions
...
(request 714962).
2003-05-10 15:17:54 +00:00
Rick Giles
e4a14e401a
Changed behaviour of target "checkstyle.style".
...
Previously the target failed if there were style errors.
It now produces output when there are style errors.
2003-05-10 11:48:41 +00:00
Rick Giles
61e6ce5ee7
Added "source" attribute to "error" element of XMLLogger output.
2003-05-10 10:59:20 +00:00
Rick Giles
b5203fd519
simplified logic
2003-05-10 09:19:11 +00:00
Oliver Burn
ee3ea77d62
Just small cosmetic changes
2003-05-10 08:08:05 +00:00
Oleg Sukhodolsky
4e1f8ef98e
One more option for JavadocMethodCheck
...
(allowThrowsTagsForSubclasses, request 540383)
2003-05-09 18:14:25 +00:00
Rick Giles
205cbab8af
Added sourceName property to LocalizedMessage and AuditEvent.
...
Checks pass the class name as the sourceName to LocalizedMessage constructors.
2003-05-09 17:00:10 +00:00
Rick Giles
40e9a0a4ea
moved bug fix to correct release number (3.1)
2003-05-09 13:24:56 +00:00
Rick Giles
9df0df10bf
corrected to handle octal and hex literals
2003-05-09 13:17:35 +00:00
Oleg Sukhodolsky
d5a6a78a59
Fix for unit-test IndentationCheckTest.testTabs() failure.
...
Now it explicitly sets tabWitdh property to 4.
2003-05-09 11:54:38 +00:00
Rick Giles
5156e90846
noted resolved bug 713845
2003-05-08 12:48:04 +00:00
Rick Giles
56de04151b
Replace characters ':' and '\' with '_' and '/', respectively, in
...
the path for writing a file. See Bugs item #713845 .
2003-05-08 12:26:52 +00:00
Rick Giles
bb39d25961
Corrections following grammar change that now generates
...
LPAREN, RPAREN for METHOD_DEF parameters.
2003-05-08 00:06:45 +00:00
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