Oleg Sukhodolsky
f0edd3eaf1
Indentation:
...
fix for indentation problems found be Indentation check.
Indentation check added to checkstyle_checkstyle.xml with "warning" severity.
2003-05-19 17:34:26 +00:00
Oliver Burn
2f98a4aa29
Document bug fixed about closing files
2003-05-19 03:22:43 +00:00
Oliver Burn
9b86619fca
Fix bug where not closing the file.
2003-05-19 03:19:52 +00:00
Oleg Sukhodolsky
7d38133e43
Indentation:
...
Remove unneeded overloading.
One more bug fix.
One more testcase.
2003-05-18 20:20:24 +00:00
Oleg Sukhodolsky
661a9b0ddb
Cosmetic changes in ExpressionHandle and LineSet.
...
Fixed bug with:
if (foo()
|| con1
|| con3)
{
}
Input for unit-test modified.
2003-05-18 18:48:27 +00:00
Lars Kühne
7347cc361b
added tests for InterfaceIsType check
2003-05-18 07:46:19 +00:00
Lars Kühne
87bdf9e553
account for '.' that has been added to error message
2003-05-18 07:44:22 +00:00
Lars Kühne
aabcf13ebd
i18n of InterfaceIsType check
2003-05-18 07:23:35 +00:00
Lars Kühne
fc2265e093
i18n of AvoidNestedBlocks check
2003-05-18 07:07:59 +00:00
Lars Kühne
ffc72b6566
improved report for failing tests
2003-05-18 07:01:31 +00:00
Lars Kühne
545d9f02ff
added tests for AvoidNestedBlocks check
2003-05-18 07:00:51 +00:00
Lars Kühne
c1863ec7e2
i18n of AvoidNestedBlocksCkeck
2003-05-18 06:56:28 +00:00
Oleg Sukhodolsky
896b671caa
Added property for GenericIllegalRegexp to customize reported message.
...
(module GenericIllegalRegexp, property message, request 738567)
2003-05-17 18:09:28 +00:00
Oliver Burn
8fc92d312c
Upgrade to version 1.0.3 (was unknown but older)
2003-05-17 09:41:54 +00:00
Oliver Burn
89730783b3
Upgrade to version 2.1 (was unknown but older)
2003-05-17 09:41:20 +00:00
Oliver Burn
2b1c479aeb
Upgrade to version 1.6.1 (was 1.5)
2003-05-17 09:40:23 +00:00
Oliver Burn
685e20e395
Cleanup after Clover changes
2003-05-17 09:23:25 +00:00
Oleg Sukhodolsky
ee4982a7bf
removing trailing whitespaces :( i wonder who add them ;)
2003-05-16 19:02:37 +00:00
Oleg Sukhodolsky
d1f564190c
Replace error loggin (using System.out) with throwing exception,
...
because these are real exceptions.
2003-05-16 18:39:18 +00:00
Lars Kühne
c1b12397d2
added tests for HideUtilityClassConstructorCheck
2003-05-16 15:56:24 +00:00
Lars Kühne
cc04f70fa6
added FinalParametersCheckTest to test suite
2003-05-16 15:42:04 +00:00
Lars Kühne
7b745053e4
small fixes
2003-05-16 15:34:01 +00:00
Lars Kühne
2c3c80cdc5
added tests for ArrayTypeStyleCheck
2003-05-16 15:31:31 +00:00
Oliver Burn
3dfa7b74b0
Ignore coverage on the untestable
2003-05-16 13:11:15 +00:00
Oliver Burn
7013d47d5f
Update for the latest release of Clover
2003-05-16 13:10:09 +00:00
Oliver Burn
1c98a922af
petty reformat
2003-05-16 13:03:08 +00:00
Oliver Burn
df8c041131
Remove unused code. Damn that Clover. ;-)
2003-05-16 03:36:23 +00:00
Oleg Sukhodolsky
8d9d5e58ac
I18N for IndentationCheck
2003-05-16 02:54:42 +00:00
Oleg Sukhodolsky
3fa2424fb3
indentationAmount property renamed to basicOffset
...
(files missed in previous putback)
2003-05-15 17:31:24 +00:00
Oleg Sukhodolsky
092e1f6947
indentationAmount property renamed to basicOffset
2003-05-15 15:54:49 +00:00
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