Lars Kühne
b0240a0200
fixed Java syntax errors (missing return type)
2006-10-03 18:23:06 +00:00
Lars Kühne
a1068badba
added unit test to demostrate bug #1564465 (test is disabled until the problem is fixed, so that gump won't break)
2006-09-24 11:37:55 +00:00
Lars Kühne
6cbcc2f1ee
extract common subexpressions from loop
2006-09-23 06:06:07 +00:00
Oliver Burn
b821f5eb95
Add entry for QALab and remove SlickEdit reference (broken)
2006-09-12 22:56:54 +00:00
Lars Kühne
40f4c37a21
Major performance inprovements in StrictDuplicatecode check, which now uses checksums over sequences of lines instead of checksums over individual lines.
...
To avoid reading the same file multiple times a soft reference map from commons-util is used, this requires a modification in import-control.xml. Hope this is OK - commons-util is a dependency anyway and is included in checkstyle-all.jar.
2006-09-10 11:35:35 +00:00
Lars Kühne
979fc5cac3
patch #1535390 , fixes JetStyle information and link to maven example report
2006-08-09 19:31:28 +00:00
Oliver Burn
7dfcb39a0e
Fix up warning about line possibly being null.
2006-07-07 03:51:13 +00:00
Oliver Burn
35d1673788
Making local variables final where possible.
2006-07-07 03:44:16 +00:00
Oliver Burn
f4a92dad02
Make member variables final where appropriate.
2006-07-07 03:33:55 +00:00
Oliver Burn
c2d3932843
Clean up the use of ()'s
2006-07-07 03:26:46 +00:00
Oliver Burn
ef791720f0
Patch to add a TextArea to the GUI.
2006-07-02 11:52:19 +00:00
Oliver Burn
302f80bd65
Just fix an annoying error where assigning to a parameter.
2006-07-02 10:41:29 +00:00
Oliver Burn
199d3003ae
Added comment about version for bluej
2006-06-30 02:11:22 +00:00
Oliver Burn
103a2068a8
Removed TYPECAST as a default token from the NoWhitespaceAfterCheck. It
...
can still be specified though.
2006-06-17 14:51:26 +00:00
Oliver Burn
81b52e27c5
Stop creating duplicate regular expression patterns.
2006-06-17 14:18:22 +00:00
Oliver Burn
104e69edd6
Applied patch (1505376) by Clint Stotesbery to support the
...
suppressLoadErrors property for AbstractTypeAwareCheck (RFE 1491630).
2006-06-17 13:49:08 +00:00
Oliver Burn
0a72322796
Tighten up the allowed use of the {@inheritDoc} tag.
2006-05-22 13:49:16 +00:00
Oliver Burn
d9ef0ac5ee
Applied patch 1386388 to enable ConfigurationLoader to load from
...
InputStream.
2006-03-09 11:48:20 +00:00
Lars Kühne
faca39c963
fixed incorrect XML in example code
2006-03-04 21:49:34 +00:00
Lars Kühne
275f47aa0f
Fix for bug 1422462, allow controlling error handling when classloading fails in JavadocMethod check.
...
Technically this change also allows controlling RedundantThrows check, however this deliberately remains undocumented as code must be compilable and hence failing to load a class mentioned in the throws clause of a method is always a configuration problem.
Fixed some minor documentation problems like typos and duplicate example code along the way.
2006-02-07 20:17:14 +00:00
Oliver Burn
c38185458a
Code cleanup
2006-01-21 12:43:02 +00:00
Lars Kühne
832c1c426e
import cleanup
2006-01-18 20:19:34 +00:00
Oliver Burn
0f314a975e
New files generated by ANTLR 2.7.6
2006-01-18 12:39:50 +00:00
Oliver Burn
a0b466761e
Upgrade to ANTLR 2.7.6
2006-01-18 12:37:21 +00:00
Oliver Burn
791818368c
Clean up
2006-01-18 12:32:55 +00:00
Oliver Burn
bb39947824
Fix UTF-8 encoding error in XMLLogger. (bug 1369589).
2006-01-16 10:56:09 +00:00
Oliver Burn
cbb36592d4
Added the style sheet checkstyle-frames.xsl, thanks to Paul King. (Bug
...
1385095).
2006-01-16 10:41:56 +00:00
Oliver Burn
cd07b78c1b
Documentation for suppressions.
2006-01-02 01:02:26 +00:00
Oliver Burn
788b41973d
Changes to make it possible to identify a module by an id, and then to
...
suppress messages based on the id. The motivation is to allow for finer
grained suppressions. For example, can enable multiple instances of the
Regexp check, and suppress on the individual instance.
2005-12-29 12:35:00 +00:00
Oleg Sukhodolsky
96c668724b
Added WriteTag check which outputs a JavaDoc tag as information (patch 902110). Thanks to Daniel Grenner (dgrenner) for contribution.
2005-12-26 07:27:59 +00:00
Oleg Sukhodolsky
ea4085cd15
Fix for rfe 1248106 (TYPECAST is now accepted by NoWhitespaceAfter)
...
Fix for rfe 953266 (thanks to Paul Guyot (pguyot) for submitting patch)
IllegalType can be configured to accept some abstract classes which
matches to regexp of illegal type names (property legalAbstractClassNames)
TrailingComment now can be configured to accept some trailing comments
(such as NOI18N) (property legalComment, rfe 1385344).
2005-12-25 16:13:10 +00:00
Oleg Sukhodolsky
78e9ce8701
Fix for 1000092 (RightCurlyCheck misbehaves for LIT_CATCH)
...
Now the check verifies the placement of rcurly after all IFs, ELSEs,
CATCHes and FINALLYs. Also it could check that rcurly starts the
line.
Also minor fix for typos in all AllTests.main(): we need to call
runner with AllTests.suite(), not with AllTests.class
2005-12-17 19:03:33 +00:00
Oleg Sukhodolsky
dfbaeedf8b
fix for 1379666
2005-12-15 14:38:12 +00:00
Oliver Burn
fa7617c222
Fixed doco.
2005-12-15 11:55:41 +00:00
Oleg Sukhodolsky
14172dd01a
Fixed 1374792. Now we do not need to look for ident before lparen, we just look at char instead.
2005-12-07 17:23:04 +00:00
Oleg Sukhodolsky
a81008fd6f
Fix for 1371588 and applying patch 1352862.
2005-12-03 19:02:27 +00:00
Oleg Sukhodolsky
5f0f6d3929
Fix for 1371588
2005-12-02 12:17:30 +00:00
Oleg Sukhodolsky
c5dfb26877
small doc-fix for JavadocMethod check
2005-11-30 13:51:49 +00:00
Oliver Burn
00af541f48
Fix documentation bugs for release.
2005-11-29 09:09:22 +00:00
Oleg Sukhodolsky
9d8134f4e8
Applied patch 1348873 which implements rfe 1345691
2005-11-10 13:38:44 +00:00
Oliver Burn
ab1e308913
Incorporate excellent patch [ 1344344 ] Consolidation of regexp checks.
2005-11-06 11:54:13 +00:00
Oliver Burn
f243d4d748
remove unused variable.
2005-11-05 23:58:53 +00:00
Oleg Sukhodolsky
89ee699fae
Applied patch 906531 (WhitespaceAround allows empty method/ctor bodies.) Thanks to Eric Roe
2005-11-01 15:38:32 +00:00
Oleg Sukhodolsky
1aee9d55cc
Fixed 1290379 (now JavadomMethod check does not allow single @see tag in javadoc). NUMBER of javadocs changed to follow new rule.
2005-10-31 19:23:48 +00:00
Oleg Sukhodolsky
d46dc44e79
FallThrough check now can check last case group (property checkLastCaseGroup, bug 1245942).
2005-10-31 12:31:38 +00:00
Oleg Sukhodolsky
73e2e24fca
added antlib.xml with checkstyle task definition. Also fixed line numbers in suppressions.xml
2005-10-31 11:12:23 +00:00
Oleg Sukhodolsky
d3dd058645
1333159 (A relief hook for JavadocMethodCheck) thanks to Ralf (rakus)
2005-10-28 20:29:48 +00:00
Oleg Sukhodolsky
4c1700ebe1
Applied patches 1339523(partially) and 1340300
2005-10-28 19:04:01 +00:00
Oleg Sukhodolsky
342ae1315c
Three more fixes for Indentation check (bugs 1251988, 1260079, 1336737).
2005-10-25 19:15:53 +00:00
Oleg Sukhodolsky
b78f144ee4
Fixed bug in logic JavadocStyle check uses to get main-section of javadoc (bug 1291847).
2005-10-24 18:08:44 +00:00