Commit Graph

48 Commits

Author SHA1 Message Date
Oliver Burn bbe51f6884 571161: Added support for basedir attribute. 2002-07-01 01:57:36 +00:00
Oliver Burn d8d9269bbc Added documentation for checkUnusedThrows. 2002-06-16 12:23:37 +00:00
Oliver Burn 3da466b9bf Added check to ensure that long integer literals use L, not l. Also fixed bug
by my over zealous removal of toString() methods.
2002-06-06 11:45:40 +00:00
Oliver Burn 4018efa9fe Refactored the catch block checking code to include try/catch/finally blocks. 2002-06-05 13:17:20 +00:00
Oliver Burn ccd30545e2 Added documentation for checking for wrapping on operators 2002-05-29 13:00:28 +00:00
Lars Kühne da940af362 Implementation, tests and docs for generalization of instantiation check. Users can now specify a list of classes that are not allowed to be instantiated.
This also fixes Bug 556317, Boolean instantiation, as now a config option is provided and the check for java.lang.Boolean is turned off by default
2002-05-28 20:23:00 +00:00
Oliver Burn 1c5c068b3a Updated for catchBlock option 2002-05-26 13:27:36 +00:00
Lars Kühne 4425afa0c2 - #516255, find empty exception handlers. Maybe we should add some
"OK if commented" option, but I don't see how to do that in the grammar.
- initial support for #550205, find instantiations of Boolean. This is not
  configurable yet, and we should generalize it to find instantiation of
  arbitrary types. Docs are also still missing, will write them after
  generalization.
2002-05-15 04:34:59 +00:00
Oliver Burn dfd7310b96 Fix documentation to:
- Include a version number in headings
- Use the ANT <filterset> to update the version number. No longer need to
  update the docs for each release.
2002-05-14 04:33:54 +00:00
Oliver Burn fca8c91804 Request 504275: detect to-do comments 2002-05-13 12:52:55 +00:00
Oliver Burn 9556af52eb Updated the version number. 2002-05-10 11:50:03 +00:00
Lars Kühne a84406be77 doc for tab expansion 2002-05-05 11:45:53 +00:00
Lars Kühne a736b629f8 added documentation for patch 531230, 'add properties file functionality' 2002-04-28 12:53:33 +00:00
Oliver Burn 3ded17ac3d Changed support for parenthesises padding to take an option, rather that being
a boolean of whether to ignore or not. This will allow the adding of more
styles in the future. Good idea Lars! :-)
2002-04-24 14:36:27 +00:00
Oliver Burn 083a7d432a Added option to disable checking for padding of parenthesis. As asked for by
Lars. Eventually should have an option to allow different styles - rather the
current "Sun way" or the "highway.
2002-04-22 10:41:10 +00:00
Lars Kühne caf539ded2 Implementation + docs for rfe 537107, "public" in interface methods 2002-04-21 21:02:57 +00:00
Lars Kühne 00447a8fe3 added check for illegal imports 2002-04-17 04:43:55 +00:00
Lars Kühne 8eb824037e added documentation for regexp-disabling of line-length checks 2002-04-13 08:31:46 +00:00
Lars Kühne 9a8acc01fd added example for failureProperty, contribution from Gray Herter [gray _AT_ fgm _DOT_ com] 2002-03-24 09:05:28 +00:00
Lars Kühne 0e0ca2bddf added failureProperty to ant task (RFE 534038) 2002-03-23 17:03:15 +00:00
Oliver Burn 1a596b6827 Renamed anttasks.properties to checkstyletask.properties. A much clearer name. 2002-02-25 12:15:07 +00:00
Lars Kühne 15640a8a1a added documentation for anttasks.properties 2002-02-24 15:56:22 +00:00
Oliver Burn 171e8d02b5 Documented the rcurly option 2002-02-23 11:14:59 +00:00
Oliver Burn 05e366ecf3 Fixed errors found by Tidy (http://www.w3.org/People/Raggett/tidy/). 2002-02-22 04:49:30 +00:00
Oliver Burn 2afaad3fa2 Added documentation for the lcurly options. 2002-02-22 04:43:09 +00:00
Lars Kühne 913028d7f2 Implementation, docs and test for RFE 438478, ignore multiple lines in header.
This change is compatible for command line, Ant, and API.

The API compatibility resulted in some deprecated methods in Configuration,
you can remove them if you think that API compatibility is not as
important as clean code.
2002-02-10 18:29:10 +00:00
Lars Kühne 6fc674d4bf new feature 'headerfile regular expression support, rfe #499259' 2002-02-07 20:34:11 +00:00
Oliver Burn 6350e4c223 Updated version to 2.1 - as building for Conor who wants the requirePackageHtml
option.
2002-02-06 05:39:38 +00:00
Lars Kühne aeacc039ed Added documentation for new parameters
requirePackageHtml, methodPattern, localVarPattern, allowPackage
2002-02-05 20:34:21 +00:00
Oliver Burn b779f3c1da Updated to the LGPL and version 2.0. 2002-02-04 12:44:04 +00:00
Oliver Burn 82ed05b01a Fixed HTML errors reported by Tidy. 2002-01-24 04:10:58 +00:00
Oliver Burn 130a7d0932 improved comments about output format 2002-01-22 01:48:05 +00:00
Lars Kühne 3cb5c532cf use consistent style in all documentation files 2002-01-21 18:51:25 +00:00
Oliver Burn 1a8665ffc1 started to add docs on the formatter 2002-01-21 12:35:37 +00:00
Oliver Burn 16a2469de9 fixed the link errors 2002-01-21 04:12:00 +00:00
Oliver Burn 0b7bf27706 Now support ignoring whether whitespace is after a type cast. As requested by
Lars.
2002-01-08 04:18:02 +00:00
Lars Kühne 6eaab74faa javadoc checkscope documentation 2002-01-06 12:50:43 +00:00
Oliver Burn d87ea06ebb Added support for checking the file length does not exceed a specified max. 2002-01-06 07:08:20 +00:00
Oliver Burn a3d490b41f Updated documentation for the new checks on method and constructor lengths 2002-01-06 06:29:19 +00:00
Oliver Burn 1d83e8ea2e fixed building 2001-11-03 11:00:48 +00:00
Oliver Burn 78ab632ff2 updated docs 2001-11-02 05:58:51 +00:00
Oliver Burn a40de3bf77 improve docs 2001-11-01 23:05:30 +00:00
Oliver Burn f8a69b0780 fix typos 2001-10-31 13:16:47 +00:00
Oliver Burn 403a3f70a3 patch to control ANT stopping the build on violations 2001-10-31 13:06:28 +00:00
Oliver Burn d3f39e6b87 Added support for public member patterns. 2001-08-05 06:41:59 +00:00
Oliver Burn b06dd9801e updated for the IgnoreBraces property 2001-07-02 06:42:29 +00:00
Oliver Burn ba46163e7c Added support for IgnoreWhitespace property. 2001-06-29 14:31:36 +00:00
Oliver Burn 5f53a2a380 first cut 2001-06-22 13:15:09 +00:00