Commit Graph

233 Commits

Author SHA1 Message Date
Oleg Sukhodolsky 36c152edea Added check for the ncss metric. 2004-04-25 08:19:19 +00:00
Lars Kühne 65603924fd Added check that checks for a required regexp, contributed by Daniel Grenner
request 606115, patch 902189
2004-04-17 05:22:12 +00:00
Lars Kühne 22d78fa990 copyright year 2004 2004-04-12 11:32:47 +00:00
Lars Kühne ab4b11645f fixed copy+paste error 2004-04-12 11:30:37 +00:00
Lars Kühne c1a79b1122 Added attributes maxErrors and maxWarnings to Ant task to allow finetuning of failure behaviour (request 783538)
Refactored Checker to use new SeverityLevelCounter class instead of implementing the same funtionality in private inner class
2004-04-12 10:54:27 +00:00
Oleg Sukhodolsky e5f09c7fd2 Fix for 925263 (Redundant throws, exceptions as nested classes) 2004-04-04 15:56:04 +00:00
Lars Kühne c0a17a8170 fixed type 'Bariable'
seperated out API changes
improved docs for new 'default' attribute
2004-04-03 05:43:06 +00:00
Oleg Sukhodolsky b138c559c8 Scoping for javadoc checks (documentation) 2004-03-28 06:32:16 +00:00
Lars Kühne 4039611539 fixed bug 884035, DesignForExtension fires for private inner classes 2004-03-23 22:28:47 +00:00
Oleg Sukhodolsky 604776f0c6 Mark 787683 (Limit UnusedParameter check to private and static methods) as integrated. 2004-03-16 04:14:16 +00:00
Oleg Sukhodolsky 8e5c074c44 UnnecessaryParentheses check (patch from Eric Roe) 2004-03-09 06:40:41 +00:00
Lars Kühne 4c43406153 Upped dtd version to 1.2
Entity resolver for configuration files now handles
all previous versions of the configuration DTD locally, without
accessing the internet (bug 909987)
2004-03-06 07:15:08 +00:00
Oleg Sukhodolsky d0df5e9a9e Fixed 909619. ExplicitInitialization shouldn't report about explicitly initialized member of interface. 2004-03-04 13:35:31 +00:00
Rick Giles 69e6c6f448 fixed bug 908339 - Erroneous UnusedPrivateField error 2004-03-02 19:40:28 +00:00
Lars Kühne c608ff940a removed old "not available" statement for EmptyForInitializerPad 2004-03-02 05:17:02 +00:00
Lars Kühne 3ad02e2dcd Ignore comments in GenericIllegalRegexp check,
contributed by Daniel Grenner
2004-02-29 13:43:28 +00:00
Lars Kühne 22d0ed9d4c added default attribute to configuration <property> tags,
see recent "property resolution changes" discussion on checkstyle-devel list
2004-02-29 07:45:10 +00:00
Oleg Sukhodolsky 6bfb6b7b1a Added pattern for names to ignore from ReturnCount (request 904437) 2004-02-28 14:08:59 +00:00
Oleg Sukhodolsky 4a1fc90335 Added checkEmptyJavadoc property to JavadocStyle check, contributed by Daniel Grenner (request 849056, patch 903597) 2004-02-27 07:20:14 +00:00
Oleg Sukhodolsky 6e39e207cb Updated documentation for ReturnCount check (bug 904443) 2004-02-26 04:04:16 +00:00
Oleg Sukhodolsky 5fb27c0fe2 Fix for 897749 (JavadocStyleCheck @value tag). Fixed javadoc inline tags handling. 2004-02-25 18:31:09 +00:00
Oleg Sukhodolsky 804e50ee31 Implementation for 724871 (provide programmatic access to tokentype documentation) 2004-02-24 19:41:51 +00:00
Lars Kühne da2328d0f1 added new check EmptyForInitializerPad and changed logic in NoWhiteSpaceBefore and ParenPad to fix bug #895072 2004-02-15 11:31:32 +00:00
Rick Giles e5ad46010b Fixed MagicNumberCheck bug when checking a cast, bug 890706. 2004-02-04 22:44:59 +00:00
Oleg Sukhodolsky 63fc2b75aa One more update of release notes 2004-01-30 07:26:09 +00:00
Oleg Sukhodolsky 7f103f3760 TrailingComment check, request 744970 2004-01-29 19:30:03 +00:00
Oleg Sukhodolsky 30a744e620 release notes' update 2004-01-29 07:41:51 +00:00
Rick Giles c9a1a41a16 fixed bug 880954: UnusedPrivateMethod false positive (ternary call). 2004-01-23 01:02:56 +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
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
Rick Giles d28061d9f2 Removed JDK 1.4 dependency (bug 876570) 2004-01-14 17:26:19 +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 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 553f3eb61e FallThrough check, request 754438. 2004-01-08 19:21:45 +00:00
Oleg Sukhodolsky e029c0077f MissingCtor check, request 696129. 2004-01-06 19:32:58 +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 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 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
Rick Giles 1518765e7f fixed bug 860990, wrong documentation for FinalLocalVariable 2003-12-16 14:47:18 +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