Commit Graph

336 Commits

Author SHA1 Message Date
Oliver Burn e543c01abd Changed the wrap on operator implementation to take an option rather than a
boolean. This allows it to be extended easily in the future.
2002-07-08 02:23:38 +00:00
Lars Kühne 3230cfbc88 use checkstyle-all in the -jar example to make sure that the example works no matter how the CLASSPATH is setup 2002-07-06 09:08:11 +00:00
Lars Kühne f10286c78b avoid double negation in description of illegal.instantiations 2002-07-06 08:56:30 +00:00
Lars Kühne 90f1a05e2b removed my email address to avoid spam 2002-07-06 08:50:57 +00:00
Lars Kühne 7521f1897b fixed bug where reported file names were not correct when checkstyle.basedir ended with File.separator 2002-07-06 06:35:29 +00:00
Oliver Burn fd1225fe8b Fixed grammar mistake - thanks Lars. 2002-07-04 06:01:02 +00:00
Lars Kühne 784085d313 close the OutputStream when audit has finished 2002-07-04 04:21:11 +00:00
Oliver Burn aff6f86e0c Updated the version number 2002-07-04 02:29:55 +00:00
Oliver Burn 4d544631b4 Fix problem where the logo was being corrupted by filtering. 2002-07-04 02:25:31 +00:00
Oliver Burn f60f8b7e20 Made the output like it was before 2002-07-04 01:30:55 +00:00
Oliver Burn ba5a640c86 Document the -jar option. 2002-07-04 00:01:59 +00:00
Oliver Burn 16d56903b1 Set the attribute Main-Class in the JAR file to allow checkstyle to be run
with the -jar option. Also no longer distribute generated source files.
2002-07-03 23:49:42 +00:00
Oliver Burn f5d8599819 Corrected problem where property JAVADOC_CHECK_UNUSED_THROWS_PROP not being
set.
2002-07-03 23:45:37 +00:00
Oliver Burn e8d3bc4502 Stop distributing generated source files. 2002-07-03 02:54:30 +00:00
Oliver Burn c78b70a9cd Refactoring to have all the generated stuff done under target (inspired by
Maven).
2002-07-03 01:43:27 +00:00
Oliver Burn 3382af9cc9 Fixed a compile error. 2002-07-03 01:38:28 +00:00
Oliver Burn 041413baf7 Fixed what I believe was a bug in closing the streams - the logic was around
the wrong way. Also made some member variables private.

LARS - PLEASE CHECK I GOT THIS RIGHT!
2002-07-03 01:35:05 +00:00
Lars Kühne 8c8aabd141 added example for -r option (rfe #568911) 2002-07-02 20:50:18 +00:00
Lars Kühne b87542b262 fixed bug 561616 2002-07-02 20:21:04 +00:00
Lars Kühne add2bdfb27 fixed bug 561616 (ant task should log errors, not infos)
This required a redesign of the AuditListener interface, the get/setOutputStream methoeds have been removed, as there might be listeners that have no or more than one OutputStream.

The DefaultLogger now differentiates between info messages ("started checking file ...", etc.) and error messages (style errors found by checkstyle) by writing the messages to two different OutputStreams.
2002-07-02 20:08:37 +00:00
Oliver Burn b3133035a4 576165: better error handling for missing properties file. 2002-07-02 11:51:56 +00:00
Oliver Burn bbe51f6884 571161: Added support for basedir attribute. 2002-07-01 01:57:36 +00:00
Oliver Burn 0e62f23a10 573485: detect redundant 'abstract' 2002-06-26 13:17:31 +00:00
Oliver Burn f8eaf47b4e 573485: detect redundant 'abstract' and also added test for long c-style
comments
2002-06-26 13:16:58 +00:00
Oliver Burn 0c8c6f3b45 Added jEdit reference. 2002-06-25 02:50:22 +00:00
Oliver Burn ab32ca0d86 Fixed typo 2002-06-22 12:05:15 +00:00
Oliver Burn c176f8b8eb 568553: fix Javadoc errors under JDK 1.4 2002-06-22 10:50:13 +00:00
Oliver Burn 119aa7439f Implement checking for whitespace around "{" & "}". 2002-06-17 12:17:31 +00:00
Oliver Burn 37e181d6dc Fix bug I introduced with the class loader. I hang me head in shame as I did
not look at the output of the unit tests.
2002-06-17 00:38:23 +00:00
Oliver Burn d8d9269bbc Added documentation for checkUnusedThrows. 2002-06-16 12:23:37 +00:00
Oliver Burn 2795663dae Cleanup on naming. 2002-06-16 12:22:05 +00:00
Oliver Burn 92358288d9 Support setting the classpath to locate classes 2002-06-15 13:34:48 +00:00
Oliver Burn a95e61912c Added test that gets 100% code coverage. Sweet! :-) 2002-06-15 13:04:25 +00:00
Oliver Burn 4a0711b2be Improving code coverage while watching England demolish Denmark in the world
cup.
2002-06-15 13:03:31 +00:00
Oliver Burn 9ef2cd2121 Changed to use class loader in configuration. 2002-06-15 13:02:21 +00:00
Oliver Burn 5ff797c94a Added support for specifying a class loader 2002-06-15 13:01:08 +00:00
Oliver Burn d114de9013 Added a reminder message. 2002-06-15 12:59:31 +00:00
Oliver Burn a097f67d1c Removed an extra debugging statement 2002-06-14 13:52:20 +00:00
Oliver Burn e823178df0 First cut at a class to resolve class names. It has some limitations (inner
classes), but I think it is a good enough start. Still need to do the unit
tests.
2002-06-14 13:23:18 +00:00
Oliver Burn 4404c2d308 Removed the logic for resolving classes 2002-06-14 13:21:17 +00:00
Oliver Burn 4509e18f16 Changed to use the new ClassResolver 2002-06-14 13:19:58 +00:00
Lars Kühne 14f2b27f8f added new commandline flag '-p' 2002-06-11 04:23:19 +00:00
Lars Kühne 47adf64795 Fixed another NPE for toplevel package.
Maybe I should test first and then commit ... :-(
2002-06-08 10:19:59 +00:00
Oliver Burn d84b2a1c6b Added the comment with the logic to determine FQCN. 2002-06-07 06:43:26 +00:00
Oliver Burn 503677ccb9 A basic working implementation of checking for @throws tags that are instances
of RuntimeException. Marked with TODO: comments what still needs to be
done. This should work in most cases.
2002-06-07 06:27:51 +00:00
Oliver Burn 1a7694f787 A whole lot more refactoring on the setting of properties. I am going to stop
now and obey the law of decreasing returns. :-)
2002-06-07 03:11:30 +00:00
Oliver Burn 4065b43922 Cleanup moving from flag to property 2002-06-07 00:10:11 +00:00
Oliver Burn 957f644aef Refactored the handling of integer properties. 2002-06-06 23:59:44 +00:00
Lars Kühne 3a5f01cc66 fixed NPE for classes in toplevel package when instantiation checks were turned on 2002-06-06 20:13:24 +00:00
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