Commit Graph

591 Commits

Author SHA1 Message Date
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 e577b7ebb8 applied patch 959995 to fix JavadocTypeCheck bug of not finding a
tag on the firt line of a comment
2004-05-26 11:44:06 +00:00
Rick Giles ed7bdbd3b2 ModifiedControlVariableCheck contributed by Daniel Grenner, patch 927680 2004-05-20 09:38:35 +00:00
Rick Giles 0e3f18dd62 MultipleStringLiteralsCheck contributed by Daniel Grenner, patch 929882 2004-05-19 22:54:47 +00:00
Rick Giles fa51f3e572 fix bug 955925, JUnitTestCase erroneously mentions
tearDown instead of setUp. Patch by Paul Guyot
2004-05-19 12:02:55 +00:00
Oleg Sukhodolsky 0552633266 Fix for 952508 (imports and RequireThis) 2004-05-15 11:07:21 +00:00
Rick Giles 3f09770c89 fixed bug 950548 - Bug in UnusedPrivateMethod 2004-05-11 21:32:24 +00:00
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 ceeebf2cd6 Users should provide classpath for RedundantThrows. 2004-03-29 14:57:36 +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
Lars Kühne 8b42624fe9 fixed copy+paste problem reported by Frank Harper 2004-03-23 21:06:02 +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
Oleg Sukhodolsky 897c4164bd added ignoreNonLocal to UnusedParamete chech 2004-03-07 11:30:29 +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
Lars Kühne 12ee114154 automatic announcement of patch tracker entries 2004-02-26 05:09:12 +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
Oleg Sukhodolsky 401394cfd4 restore FileLength to default, using suppression filter instead. 2004-02-24 19:31:33 +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
Lars Kühne 2bbeb9e27a fixed typo
improved the rationale explanation in response to invalid bug report.
2004-02-15 07:04:25 +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
Oleg Sukhodolsky 74b57239f5 Implementation of rfe 695935 (Valid public identifier is still failing field naming style). Not sure that this is a best approach to implement. Open to discussions. 2004-01-25 14:17:27 +00:00
Rick Giles c9a1a41a16 fixed bug 880954: UnusedPrivateMethod false positive (ternary call). 2004-01-23 01:02:56 +00:00
Rick Giles 43a05ed66d added MethodParamPadCheck 2004-01-21 01:22:20 +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
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