Commit Graph

1706 Commits

Author SHA1 Message Date
Oliver Burn 5bfd76b4de Removed unused variables. 2004-01-25 10:13:03 +00:00
Oliver Burn 8150d69c42 General house cleanup - setting up Eclipse M6 2004-01-25 08:36:59 +00:00
Rick Giles c9a1a41a16 fixed bug 880954: UnusedPrivateMethod false positive (ternary call). 2004-01-23 01:02:56 +00:00
Oliver Burn b70d5956b6 Fixing up ignore 2004-01-21 09:38:24 +00:00
Rick Giles 9e5fe92b7c corrected errors reported by MethodParamPadCheck 2004-01-21 01:23:25 +00:00
Rick Giles 43a05ed66d added MethodParamPadCheck 2004-01-21 01:22:20 +00:00
Rick Giles 821540c3a8 corrected test case 2004-01-21 01:13:52 +00:00
Rick Giles dc5ea22c73 Added check for the padding between the
identifier of a method definition, constructor definition,
method call, or constructor invocation;
and the left parenthesis of the parameter list.  (module
MethodParamPad, request 843254)
2004-01-21 01:10:59 +00:00
Oleg Sukhodolsky 09f901f537 Added link to optional checks into TreeWalker's checks section. (patch 880026, from Ville Skytta) 2004-01-20 03:52:28 +00:00
Rick Giles 30a895e589 Fixed bug: JavadocStyleCheck throws StringIndexOutOfBoundsException when open tag character, <, is the last character on a line. 2004-01-18 20:08:07 +00:00
Rick Giles a7bede3cb4 Fixed bug: MagicNumberCheck throws NumberFormatException with negative octal and hex ints and longs. 2004-01-18 19:37:48 +00:00
Rick Giles ddff555c2d Fixed bug 878608: Error in reporting UnusedLocalVariable for multi-dimensional array index. 2004-01-17 15:28:18 +00:00
Lars Kühne 2dda964c91 fixed NPE in DesignForExtension when checking native methods 2004-01-17 12:02:45 +00:00
Oliver Burn 5670252b46 updated license details 2004-01-14 21:10:39 +00:00
Rick Giles d28061d9f2 Removed JDK 1.4 dependency (bug 876570) 2004-01-14 17:26:19 +00:00
Oleg Sukhodolsky 384b21e735 Workaround for DefaultHandler.resolveEntity() throws problem. 2004-01-13 14:26:20 +00:00
Rick Giles 02e614f091 Noted that UnusedPrivateMethod may require configuring the classpath. 2004-01-12 21:35:57 +00:00
Oleg Sukhodolsky d298d68e67 Added multiLines property for RegexpHeaderCheck. Added AbstractHeaderCheck - superclass for header checks. 2004-01-11 04:43:25 +00:00
Oleg Sukhodolsky 0340dcb26d Added multiLines property for RegexpHeaderCheck. Added AbstractHeaderCheck - superclass for header checks. 2004-01-11 04:36:20 +00:00
Oleg Sukhodolsky 46146514c3 messages for MultipleVariableDeclarations check. 2004-01-10 17:39:09 +00:00
Oleg Sukhodolsky 95871dcc26 Some enhancement and documentation for RequireThis check. 2004-01-10 14:41:28 +00:00
Oleg Sukhodolsky a6a288813e MultipleVariableDeclarations (requests 639233, 753858, 844705). 2004-01-10 03:54:15 +00:00
Oleg Sukhodolsky 80f34569e7 Draft implementation of RequireThis check submitted by Stephen Bloch. More testing needed 2004-01-09 11:37:28 +00:00
Oleg Sukhodolsky 553f3eb61e FallThrough check, request 754438. 2004-01-08 19:21:45 +00:00
Oleg Sukhodolsky db19bd67dc Checnge some check to use new API (I hate wrapping :) 2004-01-08 03:30:59 +00:00
Oleg Sukhodolsky e029c0077f MissingCtor check, request 696129. 2004-01-06 19:32:58 +00:00
Lars Kühne 29dab4fd7e added assertion failure message 2004-01-06 14:54:15 +00:00
Lars Kühne 41833b1ce3 got info from Simon that false alarms are theoretically possible
but highly unlikely in Simian (just like in our own check)
2004-01-06 14:47:43 +00:00
Lars Kühne 2e572720e6 added column information to text blocks
This is a step towards implementing RFE #680988, Don't apply GenericIllegalRegexp on comments
2004-01-06 14:28:51 +00:00
Lars Kühne 4ec69ed49e fixed copy&paste error in main header 2004-01-06 09:08:42 +00:00
Oleg Sukhodolsky d559cf9414 DefaultComesLast check (request 754486) 2004-01-06 05:50:49 +00:00
Oleg Sukhodolsky 3396d43ff2 Fix for rfe #843551 (Additional log call for Check API class) 2004-01-05 12:36:41 +00:00
Oleg Sukhodolsky d2fb67faae Fix for 866501 (Inconsistent lcurly new line on wrap). Some grammar changes made to fix this problem. 2004-01-05 07:38:33 +00:00
Oleg Sukhodolsky bbd5145467 Docs for metric checks. Changing default max for BooleanExpressionComplexity to 3 as requested. 2004-01-04 05:12:31 +00:00
Oleg Sukhodolsky 4701ec1304 Splitting test suite. 2004-01-02 23:47:47 +00:00
Oleg Sukhodolsky c044038c3b Added NPathComplexity, ClassDataAbstractionCoupling,
BooleanExpressionComplexity and ClassFanOutComplexity checks
contributed by Simon Harris (requests 750757, 750758, 750760 and
750759).
IsEqualsMethod() moved from CovariantEqualsCheck to ChecUtils.

TODO: add documentation.
2004-01-02 08:05:48 +00:00
Oleg Sukhodolsky 1da0f94aa7 Added checkstyle-csv.xsl (request 764153) 2004-01-02 02:34:34 +00:00
Lars Kühne f608bf65e1 Improved german translation, contributed by Oliver Fischer (patch 862911) 2003-12-30 15:20:32 +00:00
Oleg Sukhodolsky 0b4c120056 Several improvements of FinalParameter check.
Fixed bug #864900 - Wrong column for method parameters in FinalParametersCheck
Added I18N support.
Implemented FRE #848820 - Final Catch Parameter.
2003-12-30 04:16:59 +00:00
Lars Kühne 89668d2a61 upped version to 3.4 2003-12-25 08:53:13 +00:00
Lars Kühne 501ce585ab integrated Paul King's example for WebLogic WorkShop integration
to demonstrate String Set usage. See
https://sourceforge.net/tracker/?func=detail&aid=865610&group_id=29721&atid=397078
2003-12-25 08:51:51 +00:00
Lars Kühne 6f570b60a7 removed docs for "-e" option (bug 865610) 2003-12-25 08:46:15 +00:00
Lars Kühne 7968b29418 Added a 'version' attribute to the 'checkstyle' element in the XML output document (request 853128) 2003-12-23 11:25:39 +00:00
Lars Kühne 7033681664 javadoc improvements 2003-12-20 07:42:19 +00:00
Rick Giles b4e676b7ba Fixed memory leak: since all usage checks are local to one source file,
don't keep elements from other source files.
2003-12-17 10:31:57 +00:00
Lars Kühne 8ceae21f09 close "patch" #841087 2003-12-16 20:41:43 +00:00
Rick Giles 1518765e7f fixed bug 860990, wrong documentation for FinalLocalVariable 2003-12-16 14:47:18 +00:00
Oleg Sukhodolsky 5efa04e1bb Fixes for tests failures cause by last putback. 2003-12-15 11:38:17 +00:00
Oleg Sukhodolsky 5f6970f254 Applying patches 849948, 849950. 2003-12-15 09:26:38 +00:00
Rick Giles 7728bbad2d Guard against NPE reported in Bug 850607 2003-12-14 19:48:40 +00:00