Commit Graph

581 Commits

Author SHA1 Message Date
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
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 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
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 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