Commit Graph

72 Commits

Author SHA1 Message Date
Oleg Sukhodolsky 5063a410cf Applied patch 1498920 (NullPointer in Resolver (usage)) 2006-10-29 08:34:27 +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
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 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 4c1700ebe1 Applied patches 1339523(partially) and 1340300 2005-10-28 19:04:01 +00:00
Oliver Burn 4795a2b485 Applied patch 1292684 from Maarten Coene. 2005-10-08 00:43:16 +00:00
Oliver Burn 28193fd5f0 Moving the usage checks to the contrib directory. I have cloned the
directory structure that was used.
2005-06-28 12:59:34 +00:00
Rick Giles 784f0bda44 example of an ant build file and stylesheet for generation of an
HTML error report with links to source code
2004-06-11 09:00:19 +00:00
Rick Giles cdf603dd48 update usage example in comments to checkstyle 3.x 2004-06-09 14:05:48 +00:00
Rick Giles 3e458d07a7 Template configuration, RFE 954442 2004-05-29 09:56:00 +00:00
Rick Giles 114baaccac example of how to configure the XML parser factory for Checkstyle,
and how to support XInclude processing
2004-05-28 15:58:38 +00:00
Rick Giles 2707ab4393 Hidden inherited field and hidden static method check w. BCEL
contributed by Daniel Grenner.
2004-04-23 13:26:34 +00:00
Oleg Sukhodolsky 1da0f94aa7 Added checkstyle-csv.xsl (request 764153) 2004-01-02 02:34:34 +00:00
Oleg Sukhodolsky 42d34c7e16 Fix for 791245 (checkstyle-frames.xsl cannot handle multiple leafs). 2003-12-05 08:17:54 +00:00
Oleg Sukhodolsky 204c472399 Fixed 852397 (checkstyle frames lacks summary link)
Fixed problem in IllegalType check reported by Venkatesh Prasad Ranganath.
Fixed checkstyle.style target in build.xml.
2003-12-05 04:41:21 +00:00
Oleg Sukhodolsky 8d242382f8 Filter.accept() now takes AuditEvent, not an Object. 2003-11-07 04:49:54 +00:00
Oleg Sukhodolsky ee90bc4002 Fixed problem in J2eeConfig.xml 2003-09-02 02:58:35 +00:00
Oleg Sukhodolsky 6cee5e024e Moving DescendantToken check to main distribution. 2003-08-19 06:20:47 +00:00
Rick Giles 4a0b798adb Correct Checkstyle errors. 2003-07-23 22:28:19 +00:00
Rick Giles bd6eaf0dd8 Xpath semantics for checking paths in syntax tree. 2003-07-23 14:22:41 +00:00
Rick Giles 8acc405dd3 Tim Tyler's check for descendant token counts 2003-07-20 13:57:58 +00:00
Rick Giles dd477210ae Custom listeners can be incorported as config modules,
not command line arguments and ant task elements.
2003-07-18 11:31:45 +00:00
Rick Giles 7c22cbca32 updated example 2003-07-16 10:21:47 +00:00
Rick Giles a9bfdceec2 completed Filter docs. 2003-07-15 11:10:15 +00:00
Rick Giles 89600c8253 "Undo" last commit. These are not AutomaticBeans. 2003-07-14 17:30:05 +00:00
Rick Giles 0fe4109620 enable setting as a module in config file 2003-07-14 08:33:24 +00:00
Lars Kühne eabb79303a fixed parameter type issue (strange) 2003-07-06 06:19:01 +00:00
Rick Giles 8929cfc00f updated configuration 2003-07-05 19:19:19 +00:00
Rick Giles cde9b8b618 moved to main distribution 2003-07-05 17:29:35 +00:00
Rick Giles a43e43e0e7 moved to main distribution 2003-07-05 17:23:25 +00:00
Rick Giles d14153b5be added check for native methods to configuration 2003-07-02 12:56:30 +00:00
Rick Giles 983111eb06 added check that static fields are final. 2003-07-02 10:37:00 +00:00
Rick Giles 9089e7a210 corrected rules. added references. 2003-07-01 23:24:28 +00:00
Rick Giles cb72198165 Checks that 'this' is not a parameter and 'this' is not a return value.
Check that EntityBean ejbCreate method has a matching ejbPostCreate method.
2003-07-01 19:39:00 +00:00
Rick Giles 135b7a010b implement requirement that a bean class cannot be abstract 2003-07-01 11:58:27 +00:00
Rick Giles d0fbb100b6 added check for FinderException throws clause to ejbSelect check 2003-06-30 23:49:37 +00:00
Rick Giles 772107d27c correct checkstyle errors 2003-06-30 23:48:29 +00:00
Rick Giles 9f4164a450 Added ejbPostCreate, ejbHome, ejbSelect checks for entity beans.
Uniform error messages.
2003-06-30 23:38:36 +00:00
Rick Giles 24a774b1e8 correct checkstyle errors 2003-06-30 20:44:17 +00:00
Rick Giles 1bca9cc443 every Home interface must have findByPrimaryKey method 2003-06-30 20:40:13 +00:00
Rick Giles 7a2c495da7 added interface checks 2003-06-30 19:15:39 +00:00
Rick Giles cc857f0940 EntityBean finder checks. 2003-06-30 13:26:14 +00:00
Rick Giles 304ca8487a Refactor. Extend ejbCreate checks 2003-06-30 11:51:29 +00:00
Rick Giles 3c4a10ca03 J2EE checks 2003-06-29 20:54:38 +00:00
Rick Giles 3da302031b restrict field and method reference recording to configured reference check scopes 2003-06-24 10:06:32 +00:00
Rick Giles db428ff350 added scope property to BCEL reference checks 2003-06-23 21:55:07 +00:00
Rick Giles c12d4a848c remove singleton pattern for tree walker 2003-06-22 14:32:14 +00:00
Lars Kühne e7898bc1df fixed javadoc 2003-06-22 13:17:10 +00:00
Rick Giles 54f09ae36c BCEL .class file checks 2003-06-19 23:51:44 +00:00
Rick Giles f2b01a44a2 Added custom listener feature 2003-05-27 17:33:24 +00:00