Commit Graph

1971 Commits

Author SHA1 Message Date
Michael Studman 9fe0fc4f53 Fixed a few AST problems (shallow branch duplication, IDENT being a parent). 2005-04-04 23:52:16 +00:00
Michael Studman 2a9fd54faa Refactored checking of operator token for participation in generic declaration into separate method. 2005-04-04 23:20:43 +00:00
Michael Studman a4df304720 javadoc correction 2005-04-04 23:18:39 +00:00
Michael Studman 65195c5bf5 Added utility method for checking if a LT,GT,BAND or QUESTION token is not an operator but part of a generic declaration. 2005-04-04 23:17:29 +00:00
Michael Studman f3fe388937 Fix to ignore LT,GT,BAND,QUESTION tokens if part of generic declaration. Partially based on patch 1097339. 2005-04-04 21:55:40 +00:00
Lars Kühne c4d4b6139c added docs for fileExtensions property of NewlineAtEOF (bug #1174751) 2005-04-04 19:10:31 +00:00
Lars Kühne f1edab8dd0 Added "source" and "target" tags to javac calls. This means that
- we avoid some compiler warnings on JDK 1.5
- follow the advice from the Ant team ("we highly recommend to always set this attribute")
- even if Checkstyle is compiled on JDK 1.5, it can still be used on 1.3 (untested)
2005-04-04 04:22:00 +00:00
Lars Kühne 2dec3ca7ae I swear I usually don't make mistakes like this :-) 2005-04-04 04:17:24 +00:00
Lars Kühne 4d61249805 added return types and fixed class name, so class is syntactically correct 2005-04-04 04:11:31 +00:00
Lars Kühne b0836d0b17 fixed singular/plural mistake 2005-04-03 12:58:21 +00:00
Lars Kühne 4ec215af26 added missing german translations 2005-04-03 10:52:03 +00:00
Lars Kühne a7684f8ad5 always print a summary line in Ant task (bug #1099573) 2005-04-03 09:52:06 +00:00
Oliver Burn a765084889 Removed test code - thanks Lars for spotting. 2005-03-30 11:06:01 +00:00
Oliver Burn b307aa1e0f Updated release notes. 2005-03-25 01:47:27 +00:00
Oliver Burn 188ba5ebd0 Put in place a beta version number 2005-03-25 01:40:55 +00:00
Oliver Burn 117d339322 Fix documentation errors 2005-03-25 01:27:29 +00:00
Oliver Burn f38937b575 Moved the ModifierOrderCheck. 2005-03-24 05:35:57 +00:00
Oliver Burn bc66e150c2 All these changes are because I wanted to fix a small documentation
bug. Ended up having to move the RedundantModifierCheck around.
2005-03-23 12:15:08 +00:00
Oliver Burn 6602b4c461 Fix up documentation. 2005-03-21 13:28:20 +00:00
Oliver Burn 16c6b79725 Removed unneeded documentation. 2005-03-21 13:23:40 +00:00
Oliver Burn df91057c1e Fix up documentation. 2005-03-21 13:10:58 +00:00
Oliver Burn cc50f3ba0a Tidy up implementation loose ends. 2005-03-20 10:36:35 +00:00
Oliver Burn 055aa0cf9d Updated setter/getter support to handle accessor of the format 'isSomething' 2005-03-20 10:08:28 +00:00
Oliver Burn 836e4d1b12 Support for suppressing errors about missing Javadoc on property accessor
methods. Still need to document it in xdocs.
2005-03-16 13:21:23 +00:00
Oliver Burn eb6ef608ac Small formatting fix 2005-03-16 13:19:12 +00:00
Oleg Sukhodolsky 7dd31794bc Two more annotation-related problems (module Indentation, bug 1109214 and module UnnecessaryParentheses, bug 1109238) 2005-02-21 14:37:43 +00:00
Lars Kühne 2c8f014f31 fixed whitespace at EOL 2005-02-20 08:09:12 +00:00
Lars Kühne f59c0a0a97 fixed NPE in LeftCurlyCheck that occured with JDK 1.5 enums (bug #1113946) 2005-02-20 08:05:44 +00:00
Lars Kühne 5366b1f684 javadoc clarification in response to bug report #1120653 2005-02-20 06:43:54 +00:00
Oleg Sukhodolsky 08a286dbec ClassFanOutComplexity should treat annotations and enums as classes (bug 1109205) 2005-02-10 11:23:51 +00:00
Oleg Sukhodolsky cbe261351b releasenotes update 2005-02-01 12:01:14 +00:00
Oleg Sukhodolsky 621d9a9bf7 UnusedPrivateMethod check should allow serialization-related methods (rfe 1036387) 2005-01-31 13:53:22 +00:00
Oleg Sukhodolsky 7bef7b4011 fixed link to Indentation check in checks lists (thanks Lars for checkstyle-docpage tag :) 2005-01-31 13:29:16 +00:00
Lars Kühne f53dcc10b2 fixed 'line too long' checkstyle error 2005-01-30 11:54:38 +00:00
Lars Kühne e8f4d9a21d account for new header package 2005-01-30 11:52:32 +00:00
Lars Kühne e4b0fb2db7 moved header messages to their own package 2005-01-30 11:49:36 +00:00
Lars Kühne 0d4145ebaa moved header tests to their own package 2005-01-30 11:41:37 +00:00
Lars Kühne aca96ae1b1 moved header checks to their own package
removed duplicate usage documentation in javadoc along the way
2005-01-30 11:32:50 +00:00
Lars Kühne 0a60a189ed Cleanup of CheckDocsDoclet, removed notion of DocumentationPage.
Added processing of checkstyle-docpage tag that lets check implementations
override the default doc location that is used for the list of available checks.
The default location is derived from the java package name, the class should
include "@checkstyle-docpage <new page>" in it's class doc to override it.
2005-01-30 11:07:05 +00:00
Lars Kühne a91de9a50e Moved check documentation for duplicate code from javadoc back to xdocs, following agreement on dev list.
The CheckDocsDoclet now only generates the index page, javadoc -> xdoc generation code has been removed.
2005-01-29 07:40:56 +00:00
Oleg Sukhodolsky aa7b0d2bcb release notes update 2005-01-25 08:55:23 +00:00
Oleg Sukhodolsky 0ac000841c Fixed ModifiedControlVariable check to work with for-each (bug 1101851) 2005-01-25 08:35:16 +00:00
Oleg Sukhodolsky f5efd9eb39 fixed gump failure 2005-01-24 17:07:09 +00:00
Oleg Sukhodolsky d4860ed0e7 clarifying scope properties for javadoc checks (rfe 1009201) 2005-01-24 16:45:48 +00:00
Oleg Sukhodolsky 279c8501d5 documenting format property for IllegalType check (bug 1047449) 2005-01-24 16:44:26 +00:00
Oleg Sukhodolsky af34614b01 removing questionable code from SuppressionCommentFilter (bug 1061459) 2005-01-24 16:42:27 +00:00
Oleg Sukhodolsky 428ccd5c12 minor cleaning in usage checks :) 2005-01-24 16:40:24 +00:00
Oleg Sukhodolsky 515001daca minor cleaning in usage checks :) 2005-01-24 16:35:22 +00:00
Oleg Sukhodolsky 7aacf525ce remove unnecessary suppresions 2005-01-24 16:30:03 +00:00
Oleg Sukhodolsky 47bfe73b63 Restoring config_block.xml and removing usage docs from javadoc, changing the doclet to generate usage documenation for duplicate package only 2005-01-24 16:23:02 +00:00