Commit Graph

2149 Commits

Author SHA1 Message Date
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 52e2087c40 - consistently use ${target.dir}
- build checkstyle-all.jar directly from jars, without unpacking them in a tmp folder
- avoid adding overview.html from beanutils.jar to checkstyle-all.jar
2006-01-18 21:15:12 +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
Oliver Burn 2398407a08 Made the manifest dynamic 2005-12-15 11:45:52 +00:00
Oliver Burn 737591b08a Added manifest entries. Still need to automate incrementing the version
number with the one from build.xml
2005-12-15 07:45:56 +00:00
Oliver Burn f89b509f93 Bump the version number. 2005-12-13 20:17:44 +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
Oliver Burn ccb6fb6104 Preparing the a full release. 2005-11-23 09:08:05 +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
Oleg Sukhodolsky b4ad010003 Fixed 1322879 - ParenPadCheck should be aware about ou current grammar ;) 2005-10-24 16:46:57 +00:00
Oleg Sukhodolsky ea0c517992 Fixed a funny typo in grammar (bug 1335088) 2005-10-24 15:18:14 +00:00
Lars Kühne 452efe9720 moved InnerAssignment test code to coding/InputInnerAssignment
keeping blank lines to leave reported line numbers of other checks unchanged
2005-10-23 07:53:31 +00:00
Lars Kühne 2554557c1c fixed bug #1195047, InnerAssignment check didn't find all instances of inner assignments 2005-10-23 07:49:43 +00:00
Lars Kühne e3741d1026 fixed typo 2005-10-21 11:50:53 +00:00
Lars Kühne 9c0d514694 removed obsolete import 2005-10-21 05:33:18 +00:00
Oliver Burn 70f4568a3d Fix encoding problems when parsing XML (patch 1320132) 2005-10-19 12:44:44 +00:00
Oliver Burn 253622ab83 Patch 254918 from taab. 2005-10-08 01:18:51 +00:00
Oliver Burn 4795a2b485 Applied patch 1292684 from Maarten Coene. 2005-10-08 00:43:16 +00:00
Oliver Burn d17dc3ab28 Fixing up my brain dead assertions. Moral, run the code with the assertions enabled. ;-) 2005-10-08 00:18:30 +00:00
Oliver Burn d9f789a649 Applied patch 1309516. 2005-10-06 14:18:14 +00:00
Oliver Burn 8fe7c3a914 Fix for infrastructure class loader. Needs to be verified by Lars (of
Eclipse plug-in fame! :-)
2005-09-25 10:50:56 +00:00
Oliver Burn 85413204e1 Added Spanish messages (patch 1250329). 2005-09-21 11:31:53 +00:00