Commit Graph

1218 Commits

Author SHA1 Message Date
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 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
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
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 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
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
Rick Giles b3ffae34fd Guard against error reported in Bug 842781 2003-12-14 19:42:14 +00:00
Oleg Sukhodolsky c75472399f Fix for 853225 - Indentation gives false errors 2003-12-13 12:47:23 +00:00
Oleg Sukhodolsky 72be23f288 Fix for 855839 - JavadocMethod does not correctly treat {@inheritDoc}. 2003-12-08 18:58:05 +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 9e5fccda3a One more test for ArrayTypeStyle. 2003-11-27 06:18:15 +00:00
Oleg Sukhodolsky f8946ef533 Fix for 849450 (ArrayTypeStyle should only check variable/parameter decls). 2003-11-27 06:12:26 +00:00
Rick Giles dee81b907a fixed xmllogger.dtd is out-of-date (bug 847974) 2003-11-26 10:54:17 +00:00
Oleg Sukhodolsky d4fe5e2ce1 Applying patch 848483 (Documentation fixes) from Ville Skytta (scop) 2003-11-25 09:56:43 +00:00
Oleg Sukhodolsky e57fd63469 Fix for 848750 (Linebreak confuses ArrayTypeStyle) 2003-11-25 08:55:27 +00:00
Lars Kühne 8fb2acd39b replaced Comment class with TextBlock interface, Comment is now a package private implementation 2003-11-24 06:45:02 +00:00
Oleg Sukhodolsky 24ba45a971 Fix for ArrayIndexOutOfBounds in JavadocStyle (bug 841942 ) 2003-11-23 08:33:41 +00:00
Rick Giles b9b72f9692 fixed bug 846110, j2ee.EntityBean check for constructor is incorrect 2003-11-22 13:30:57 +00:00
Oleg Sukhodolsky fd6a743fd4 Draft fix for 843887 (XHTML not handled correctly in JavadocStyle). Feel free to improve it. 2003-11-20 11:19:20 +00:00
Oleg Sukhodolsky 4011bf3740 One more test for JavadocStyle. 2003-11-19 04:51:44 +00:00
Lars Kühne d39b9ef629 sorry, wrong bug id 2003-11-18 21:01:48 +00:00
Lars Kühne 0aca6b0589 Added test input code to reproduce bug 841942 and a bit of HTML
code where parsing could could go wrong wrong when fixing this bug.

If you want to tackle the bug, uncomment methods 10 and 11 and add
"extra </img>" for method10 to the list of expected errors in
JavadocStyleCheckTest lists.
2003-11-18 20:55:12 +00:00
Oleg Sukhodolsky ec70b77765 Applying patch 835896(classpathref support for Ant task) 2003-11-17 05:20:19 +00:00
Rick Giles 154df915b9 fixed NPE with dotted class name (part of bug 842781) 2003-11-16 13:07:24 +00:00
Oleg Sukhodolsky c6bbd67749 Added caseSensitive property to ImportOrder check (bug 842604). 2003-11-16 08:40:33 +00:00
Oleg Sukhodolsky 4d8c68ec20 Removed MutableException dependency from 1.4 API.(bug 842756) 2003-11-16 06:14:16 +00:00
Oleg Sukhodolsky c4c966c971 Fix grammar build process (RFE 827781) 2003-11-13 16:32:53 +00:00
Lars Kühne 5c3762cef2 fixed bug 837012, false alarms for abstract classes 2003-11-08 12:29:19 +00:00
Oleg Sukhodolsky 8d242382f8 Filter.accept() now takes AuditEvent, not an Object. 2003-11-07 04:49:54 +00:00
Oliver Burn 7abbd6af2f Translations for 3.2 release. 2003-11-06 11:34:02 +00:00
Oliver Burn 37e8c62b4f Translations for 3.2 release. 2003-11-06 11:19:24 +00:00