Commit Graph

287 Commits

Author SHA1 Message Date
Oliver Burn 8af07e5dfd Start of a re-factor on the way options are set. Started on the easy
booleans. The downside of this approach is that is not 100% full-proof for the
plug-in developers. I think it is an acceptable compromise.
2002-06-06 13:52:36 +00:00
Oliver Burn 9ad235214f Start of a re-factor on the way options are set. Started on the easy
booleans. The downside of this approach is that is not 100% full-proof for the
plug-in developers. I think it is an acceptable compromise.
2002-06-06 13:39:41 +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 dc92fd1b89 Removed deprecated methods that have floating around for 2 releases. Their
time was up.
2002-06-02 23:20:35 +00:00
Lars Kühne 9f4ef5821a Javadoc cleanup 2002-06-02 12:09:55 +00:00
Oliver Burn f3895598fe Watching Germany destroy a team in the 2002 world cup. Oh, also updating the
code coverage of the tests. :-)
2002-06-01 12:19:27 +00:00
Oliver Burn 4e49cc8d2a Added to improve code coverage. Trying out Clover (www.thecortex.org/clover). 2002-05-31 13:58:02 +00:00
Oliver Burn acb49a1e58 Removed unused code - will add a proper implementation is required. 2002-05-31 13:55:52 +00:00
Lars Kühne 87fb75661f added new feature "detect illegal instantiation" to 2.3 2002-05-30 04:45:18 +00:00
Oliver Burn 3507ce50c1 oversight 2002-05-29 13:11:13 +00:00
Oliver Burn ccd30545e2 Added documentation for checking for wrapping on operators 2002-05-29 13:00:28 +00:00
Oliver Burn 7adeb1ad63 Fixed a misleading comment 2002-05-29 12:42:59 +00:00
Oliver Burn 4c02d6ec94 First cut 2002-05-29 12:41:56 +00:00
Oliver Burn ff0a2c0479 Added the ability to turn off checking for wrapping on operators 2002-05-29 12:41:01 +00:00
Oliver Burn 474e266acd Turn off the operator wrapping test until I can provide an option to
turn just it off.
2002-05-28 21:50:24 +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 34770c3eaa Implemented checking that lines are broken on operators (except the assignment
ones). Still need to update the docs
2002-05-28 13:39:43 +00:00
Oliver Burn 1c5c068b3a Updated for catchBlock option 2002-05-26 13:27:36 +00:00
Oliver Burn 615219883b Support for the CatchBlock option. The code is a bit ugly, but it works. 2002-05-26 12:58:30 +00:00
Oliver Burn 39a7271a2a Added a toString() for debugging 2002-05-26 12:57:17 +00:00
Oliver Burn 441ab3e13b Support for the CatchBlock option 2002-05-26 12:56:16 +00:00
Oliver Burn 3f6653f424 Fixed tests to handle CatchOption 2002-05-26 12:55:29 +00:00
Oliver Burn 3d0256c50f Fixed compilation errors 2002-05-26 12:54:55 +00:00
Lars Kühne 6f7fec94ee fixed missing javadoc 2002-05-20 10:53:23 +00:00
Lars Kühne 502082c736 docs for '-p' option 2002-05-20 10:36:25 +00:00
Lars Kühne ef5716560b RFE #557544, load properties from file on cmdline 2002-05-19 07:38:58 +00:00
Lars Kühne 032b3801aa fixed checkstyle error (empty exception handler). Do we need a framework for passing internal errors to the outside world, instead of just printing them? I'm not sure how useful printing is if you're not on the command line... 2002-05-15 05:02:46 +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 7b849d58d5 Implemented a factory to create RE objects. Also improved error handling. This
may improve performance?
2002-05-14 04:41:16 +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 65989e76a4 Request 555262: Include column number in the XML output 2002-05-13 01:48:41 +00:00
Oliver Burn 9556af52eb Updated the version number. 2002-05-10 11:50:03 +00:00
Lars Kühne 1b7f3c143d real names for style sheet contributors 2002-05-10 04:39:00 +00:00
Lars Kühne 475115172e added hint about regexp-disabling of linelength check 2002-05-05 12:27:55 +00:00
Lars Kühne a84406be77 doc for tab expansion 2002-05-05 11:45:53 +00:00
Lars Kühne fea8a2b4d7 added test class for low level tests of the Utils methods 2002-05-05 11:42:39 +00:00
Lars Kühne 347badbc09 added tests for tab expansion 2002-05-05 11:40:48 +00:00
Lars Kühne f6c9d83def simulate tab expansion in line length and error column calculations, includes fix for bug #524671 2002-05-05 11:39:13 +00:00
Lars Kühne 83a1c2d3b3 added column number to tab check 2002-05-01 08:31:27 +00:00
Lars Kühne ff08629ef8 save task options in Runnables to make sure that task options
always overwrite the options in the properties file, independent of
the order in which the attributes are reported by ANT or the XML parser.
2002-05-01 07:40:41 +00:00
Lars Kühne 7a9a4c2045 added releasenotes for old releases, rewrote 2.2 releasenotes 2002-05-01 07:35:39 +00:00
Lars Kühne a851e6db3c added releasenotes. Oliver, please spellcheck and fill in the 2.1 release if possible 2002-04-30 20:36:38 +00:00
Oliver Burn 8f8879df46 Fixed bug with the parser falling back when failing on assert
statements. Found with problems with imports.
2002-04-30 10:56:49 +00:00
Oliver Burn 43c3cc7486 Fixed bug with handling padding around ()'s. 2002-04-30 10:54:08 +00:00
Oliver Burn 4d8f0c8066 Updated to make the error for a modifier that is out of order, have the column
number of the offending modifier, not the first modifier.
2002-04-29 04:09:10 +00:00
Oliver Burn 2d315277b6 Fixed Checkstyle errors. Important to make sure that Checkstyle passes with no
errors, as I get asked if "Checkstyle Checkstyle's" all the time. :-)
2002-04-29 04:07:08 +00:00
Lars Kühne 62ca98db34 added contrib dir to src/bindist, removed last reference to old Changelog file 2002-04-28 16:22:46 +00:00
Lars Kühne a736b629f8 added documentation for patch 531230, 'add properties file functionality' 2002-04-28 12:53:33 +00:00