Commit Graph

1453 Commits

Author SHA1 Message Date
Rick Giles 8929cfc00f updated configuration 2003-07-05 19:19:19 +00:00
Rick Giles 4463465340 include tests for j2ee checks. 2003-07-05 17:30: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 b904923180 docs for j2ee checks 2003-07-05 17:17:28 +00:00
Rick Giles 5cce308aec tests for j2ee checks. 2003-07-05 17:16:05 +00:00
Rick Giles 192d09dfc0 Major refactoring. Moved to main distribution. 2003-07-05 17:14:33 +00:00
Lars Kühne 97d669aad4 Added allowInSwitchCase property to AvoidNestedBlocksCheck
to allow limiting the scope of variables to one case of a switch statement.
2003-07-05 11:12:17 +00:00
Lars Kühne 59de966a7e Added allowInSwitchCase property to AvoidNestedBlocksCheck
to allow limiting the scope of variables to one case of a switch statement.

Also currently playing with the Clover IDEA plugin - man, this rocks!!
2003-07-05 11:09:52 +00:00
Oliver Burn 6db0b3effd Code cleanup to force the class name for the cause of the message to be
logged. Required as part of changes I am making for RFE 756416.
2003-07-05 10:47:35 +00:00
Lars Kühne e6860c68f6 renamed ant project name, makes ant tree look better in IDEA 2003-07-05 10:44:21 +00:00
Rick Giles f9e4b4c304 minor grammar correction 2003-07-02 19:50:41 +00:00
Rick Giles d14153b5be added check for native methods to configuration 2003-07-02 12:56:30 +00:00
Rick Giles b07f845ac1 added IllegalTokenCheck, request 750755 2003-07-02 12:48:43 +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
Oleg Sukhodolsky 50c242141a indent.severity removed, translation.severity added to checkstyle.style target 2003-06-29 12:56:51 +00:00
Lars Kühne 2617fa0175 added tests for StringLiteralEqualityCheck 2003-06-29 10:43:34 +00:00
Lars Kühne d1b597e289 added tests for StringLiteralEquality 2003-06-29 10:41:47 +00:00
Oleg Sukhodolsky 8de6dda16b Fix javadoc problem. 2003-06-29 10:04:52 +00:00
Oleg Sukhodolsky a30cd217f3 Implementation for NestedIfDepthCheck and NestedTryDepthCheck.
Thanks Simon.
2003-06-28 20:02:25 +00:00
Oliver Burn 784842200f Refactored, that was really ugly code I had written. 2003-06-27 12:10:58 +00:00
Oliver Burn 768256c32a I am sick of Spam! :-( 2003-06-27 11:04:38 +00:00
Rick Giles 5be2f0b799 corrected checkstyle error 2003-06-27 10:22:32 +00:00
Rick Giles d91d824ac7 guard against null 2003-06-27 10:19:43 +00:00
Rick Giles a03dc8c1c9 simplified algorithm 2003-06-27 09:58:28 +00:00
Lars Kühne cc822a77b4 fixed typo (security vs severity) 2003-06-27 04:25:12 +00:00
Rick Giles 9eb27f99a3 re-ordered tests for efficiency 2003-06-26 17:51:11 +00:00
Rick Giles e03dd7a0a0 handle anonymous classes with CovariantEqualsCheck 2003-06-26 17:25:02 +00:00
Rick Giles 9309a78471 defined CovariantEqualsCheck method getRequiredTokens to prevent
mis-configuration
2003-06-26 16:30:21 +00:00
Rick Giles 71d92d649f check that a class that defines a covariant equals method also overrides
equals(java.lang.Object)
2003-06-26 16:19:46 +00:00
Lars Kühne b19b59296f added docs for StringLiteralEquality 2003-06-26 04:43:28 +00:00
Oliver Burn 9a702cf864 CSortedVS: ---------------------------------------------------------------------- 2003-06-25 12:48:39 +00:00
Lars Kühne 1546ad654f implementation for rfe #754835, detect string equality checking with ==
still have to do tests and docs
2003-06-24 19:40:45 +00:00
Oliver Burn 3a75454e8d Added CyclomaticComplexityCheck from Simon Harris.
Refactored quite a bit
2003-06-24 12:35:40 +00:00
Rick Giles 3da302031b restrict field and method reference recording to configured reference check scopes 2003-06-24 10:06:32 +00:00
Oliver Burn ed7fc0e632 Fix Checkstyle errors 2003-06-24 00:53:00 +00:00
Rick Giles db428ff350 added scope property to BCEL reference checks 2003-06-23 21:55:07 +00:00
Lars Kühne 731b581a1c Added excludes property to AvoidStarImport, request 744955
contributed by Bill Schneider
2003-06-23 21:11:23 +00:00