Commit Graph

171 Commits

Author SHA1 Message Date
Rick Giles 4a638fc0e6 Added global-property to DTD.
Removed DTD from XML file until fix of ConfigurationLoader
2002-11-14 10:10:27 +00:00
Rick Giles 6f36f2811d added DTD for checkstyle configuration 2002-11-12 23:20:51 +00:00
Rick Giles 7fb81fdf90 added WhitespaceAfterCheck 2002-11-11 11:54:06 +00:00
Rick Giles 9eb9d9b3ea replaced NoWhiteSpaceAroundCheck by NoWhitespaceAfterCheck and
NoWhitespaceBeforeCheck
2002-11-10 20:48:33 +00:00
Rick Giles bed446244a added NoWhitespaceBefore, NoWhitespaceAfter checks 2002-11-10 20:35:13 +00:00
Rick Giles 333e944de5 added check for wrap of assignment operators at eol 2002-11-10 19:45:25 +00:00
Rick Giles ecaaaeb254 added operator wrap check 2002-11-09 20:24:22 +00:00
Oliver Burn 5fc3ff2bfb Please ensure you thoroughly test code before committing it. As a sanity test,
ensure that the target "checkstyle.checkstyle" will run! If in doubt, do not
commit, but instead said a patch to the devel mailing list for a review.

Finished the port of the ClassResolver code. Even though it compiled, it had
no chance of working due to class casting problems. They have not been
fixed. Also needed to ensure the correct class loader is being used.
2002-11-06 03:57:58 +00:00
Oliver Burn 93bba09f70 Wanting to turn on the check - but it fails. Need to resolve as it is most
likely to be a classpath issue.
2002-11-06 00:14:40 +00:00
Rick Giles 3bcc2c1391 update for JavadocMethodCheck 2002-11-05 20:39:56 +00:00
Oliver Burn fb97056b9b Fixed bug in MethodLeftCurlyCheck where it did not handle interfaces and
abstract methods.
2002-11-03 12:06:15 +00:00
Oliver Burn 4945b82e6d Folded the constructor length test into the method length check. Seems silly
to have them as separate checks.
2002-11-03 02:37:20 +00:00
Oliver Burn ba8a851e90 Fixed bug in MethodLengthCheck where it was assuming that a method definition
had to have braces. Not the case for interfaces and abstract methods. Need to
make the same change to the other method check.
2002-11-03 02:14:07 +00:00
Oliver Burn 3288a81e30 Just converted over the Checkstyle ANT task to use the new framework. In
process I had to fix numerous errors now being reported.

There are some bugs with the method checks, which I will now investigate.
2002-11-02 12:22:14 +00:00
Oliver Burn 2effcfd0bc Start of conversion to only supporting the new framework. Also refactored
error handling.
2002-10-31 12:28:47 +00:00
Oliver Burn 75482cc4f0 disable todo checking when run under gump 2002-09-15 11:30:51 +00:00
Oliver Burn 2b9b1e2021 Added some advice on upgrading 2002-09-14 05:14:15 +00:00
Oliver Burn 310100c239 Added some advice on upgrading 2002-09-14 05:07:00 +00:00
Oliver Burn ea13b70f2f updated for JDE 2002-09-14 04:24:08 +00:00
Oliver Burn 63c7ac019f removed unused property 2002-09-13 09:10:07 +00:00
Lars Kühne 3fecb73fb3 incorporte patch 607481 from Ville Skyttä to enforce wrap on operator at EOL 2002-09-13 05:43:47 +00:00
Lars Kühne 8a65d2ff82 docs for package name check 2002-09-08 12:55:14 +00:00
Lars Kühne 218bbeb80d added <h2> headers 2002-09-08 07:53:14 +00:00
Oliver Burn 7f06106f4e Yahoo! Implemented checking for unused private fields. Just need to document
the new feature. It is off by default as the class path must be set up. Can
use the same technique for private methods.
2002-09-08 07:31:37 +00:00
Oliver Burn 98c8a0db55 The absolutely last refactoring change with the properties config stuff. I am
sick it. Absolutely sick of it! Completely and utterly sick of it!! Still, the
change is better for the future.
2002-09-07 02:02:24 +00:00
Oliver Burn 49eb0e934e Yet another refactor to have the ANT task support a nested <property>
element. This let me remove the ugly have I put in to support relative
paths. Got the idea from Vincet Massol. Bug 605141.
2002-09-07 01:36:40 +00:00
Oliver Burn aff5047c9e Patch to make loading of relative file paths work. Basically duplicating the
work that ANT used to do. There had to be some pain in the refactoring. ;-)
2002-09-05 02:46:40 +00:00
Oliver Burn ac18264bf6 Patch to make Checkstyle run. Need to fix the TODO reported. 2002-09-04 14:35:10 +00:00
Oliver Burn 8a2f9d179f Fixed bugs in the build.xml file. 2002-09-04 14:30:14 +00:00
Oliver Burn a5bd0522b8 Cleaned up to use the new config files. 2002-09-04 12:28:11 +00:00
Oliver Burn 47f3495932 Renamed all checksXXXX.html files to configXXXX.html 2002-09-04 12:17:29 +00:00
Oliver Burn a926120685 Renamed all checksXXXX.html files to configXXXX.html 2002-09-04 12:10:15 +00:00
Oliver Burn ece0896556 Renamed all checksXXXX.html files to configXXXX.html 2002-09-04 12:02:11 +00:00
Oliver Burn 87879a7e57 Renamed all checksXXXX.html files to configXXXX.html 2002-09-04 11:55:19 +00:00
Oliver Burn a743ec6339 fixed null reference :-) 2002-09-04 11:54:51 +00:00
Oliver Burn f02124d9d3 Renamed all checksXXXX.html files to configXXXX.html 2002-09-04 11:40:53 +00:00
Oliver Burn 19815691c6 Added copyright statements (I have lawyers!). Also removed invalid docs from
main documents.
2002-09-04 11:37:28 +00:00
Oliver Burn 573daea049 Against a snap shot of changes I do not want to lose. 2002-09-04 11:00:28 +00:00
Oliver Burn 2817b05ecc Against a snap shot of changes I do not want to lose. 2002-09-04 10:23:55 +00:00
Oliver Burn c6d2120f6e Against a snap shot of changes I do not want to lose. 2002-09-04 08:03:05 +00:00
Oliver Burn bfe1cbdbed Against a snap shot of changes I do not want to lose. 2002-09-04 04:04:03 +00:00
Oliver Burn e55cf9b0bc Please ignore - a work in progress that I want to backup. 2002-09-03 13:45:38 +00:00
Oliver Burn 0e733a20c8 Please ignore - a work in progress that I want to backup. 2002-09-02 13:19:01 +00:00
Oliver Burn 1192d56554 Please ignore - a work in progress that I want to backup. 2002-09-02 13:13:11 +00:00
Oliver Burn e98d817e3f Please ignore - a work in progress that I want to backup. 2002-09-02 12:21:17 +00:00
Oliver Burn a37a1d7ba9 Please ignore - a work in progress that I want to backup. 2002-09-02 12:12:38 +00:00
Oliver Burn f8a53831f0 Incorporate patch 555878 from Rick Giles to allow pattern for local final
variables to be specified.
2002-08-21 08:08:43 +00:00
Oliver Burn 1fdf65bf01 Incorporate patch 566855 from Rob Worth to optionally check that parenthesis
are padded with spaces.

Big thanks to Lars for suggesting that the Pad Option not be a boolean so
somebody could one day submit this patch. :-)
2002-08-21 04:39:27 +00:00
Oliver Burn d92ceb81a6 Implemented enforcing having @version tag. (Request 543964). 2002-08-20 13:08:37 +00:00
Oliver Burn ecc852d48b Added support to specify a country so that the call to the Locale()
constructor is not dependent on JDK 1.4.
2002-08-12 12:10:57 +00:00