Commit Graph

360 Commits

Author SHA1 Message Date
Oliver Burn a4d63db21d Disabled the translation check for the moment.
Added a check to detect trailing whitespace as discussed today and fixed all
the resulting errors. Thank god for Emacs, I recorded a keyboard macro to fix
all the errors. Otherwise this would have been a tough task.
2003-05-14 08:11:49 +00:00
Oliver Burn 93277b0730 Cosmetic changes 2003-05-14 07:47:41 +00:00
Oleg Sukhodolsky bb0a041a3a Added check for redundant exceptions in
throws clause (module RedundantThrows, request 579056)
2003-05-14 03:18:33 +00:00
Lars Kühne bf6758b29d documentation improvements from Peter Dobratz 2003-05-11 07:31:23 +00:00
Rick Giles b59648d605 Added line and column numbers to configuration parse exceptions
(request 714962).
2003-05-10 15:17:54 +00:00
Rick Giles 61e6ce5ee7 Added "source" attribute to "error" element of XMLLogger output. 2003-05-10 10:59:20 +00:00
Oleg Sukhodolsky 4e1f8ef98e One more option for JavadocMethodCheck
(allowThrowsTagsForSubclasses, request 540383)
2003-05-09 18:14:25 +00:00
Rick Giles 40e9a0a4ea moved bug fix to correct release number (3.1) 2003-05-09 13:24:56 +00:00
Rick Giles 5156e90846 noted resolved bug 713845 2003-05-08 12:48:04 +00:00
Rick Giles fdc9cc3713 added item for MagicNumberCheck 2003-05-07 17:11:56 +00:00
Rick Giles 7284e8aa42 magic number check. RFE 564206 2003-05-07 16:57:32 +00:00
Lars Kühne 9a9e7318a3 added note for empty statement check
Oleg has joined the team
2003-05-06 05:40:43 +00:00
Lars Kühne ebc06c9c2e added docs for EmptyStatement 2003-05-06 05:34:49 +00:00
Lars Kühne 4c1197e35d added comments for the regexp values 2003-05-06 05:09:30 +00:00
Lars Kühne a2e58a8d5f added example for finding trailing whitespace 2003-05-06 04:58:40 +00:00
Oliver Burn e9b6614e56 Fix Clover link as requested 2003-05-05 04:04:25 +00:00
Oliver Burn beb7953571 Added reference to the new documents 2003-05-05 03:31:18 +00:00
Lars Kühne c14a267b08 added request ID for NewLineAtEOF 2003-05-04 09:55:31 +00:00
Lars Kühne 48761b6091 the config_misc file has become a real mess, restructured it into three documents 2003-05-04 09:54:43 +00:00
Lars Kühne e4eee5699c docs how to contribute to the project 2003-04-30 22:41:08 +00:00
Oliver Burn ff05a6ff5e Patch from Oleg Sukhodolsky to fix documentation. (bug 727896) 2003-04-28 12:28:29 +00:00
Oliver Burn 5ace399de6 Another quality patch from Oleg Sukhodolsky to fix TranslationCheck Test
bug. (bug 720925).
2003-04-24 08:18:53 +00:00
Oliver Burn cd6e8a32d2 Patch from Oleg Sukhodolsky to add MissingSwitchDefaultCheck to check that a
switch statement has a default clause (request 564199).
2003-04-18 11:14:48 +00:00
Lars Kühne 0c913a1b17 resolved HTML syntax errors in documentation (bug 721458) 2003-04-18 09:29:15 +00:00
Lars Kühne c8a0d72210 reset message collector in filesetchecks 2003-04-18 09:12:33 +00:00
Oliver Burn 308d5b0294 Patch from Oleg Sukhodolsky to add FinalCheck to check that classes are
declared final if they only contain private constructors (request 696290).

Quite like the use of the visit/leave token methods.
2003-04-18 08:37:34 +00:00
Lars Kühne 1197b294ce added rfe number to severity level feature 2003-04-18 06:58:44 +00:00
Oliver Burn c822fc497e Max the maximum size more lax. Peter Dobratz did an amazing job documenting
the token types. Ideally would like a way to fine grain the check
2003-04-18 06:52:36 +00:00
Lars Kühne b7f58129fa fixed java sytax error in example 2003-04-18 06:32:57 +00:00
Oliver Burn c69b2f8481 Added SlickEdit reference 2003-04-16 07:19:03 +00:00
Lars Kühne 6520032fd7 added NewLineAtEOF 2003-04-12 14:15:10 +00:00
Lars Kühne 6cbf99acd8 fixed docs of DesignForInheritance, static methods are now ignored 2003-04-11 04:44:18 +00:00
Lars Kühne 002b55c219 added NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-06 12:27:55 +00:00
Oliver Burn 29390c5b02 Fix bug 713716: grammar bug defaulting to float and not double. 2003-04-02 11:19:17 +00:00
Lars Kühne 32c3ee46e3 removed the "threadsafe" keyword, fix for bug #710319 2003-03-30 14:58:22 +00:00
Oliver Burn 712a812fdd Fix broken Maven links 2003-03-30 06:41:04 +00:00
Lars Kühne 8f965910b0 added check to detect the double-checked locking idiom, rfe #709333 2003-03-29 17:34:12 +00:00
Lars Kühne ba1663fc94 rfe #528196, task should output version info 2003-03-29 13:39:22 +00:00
Oliver Burn f09c190dff Added support for metadata in the configuration file. This required increasing
the version number to 1.1. I thought this made sense, even though the change
was backwardly compatible.
2003-03-29 00:29:25 +00:00
Oliver Burn d1eb126cae Patch from Peter Dobratz to make the file xhtml compliant. 2003-03-27 12:12:02 +00:00
Oliver Burn 5db3630ded Trying out the new Severity level stuff from Lars. It works really well - I
like it! Not sure about the IGNORE level, as it would be easier to just remove
the Check. But I guess for completeness.
2003-03-27 11:59:03 +00:00
Lars Kühne d216ec7525 Major refactorings to allow the use of SeverityLevels in FileSetChecks
as well as in Checks and to simplify logging of messages in FileSetChecks.

Introduction of a new class called AbstractViolationReporter, from which
both Check and FileSetCheck are derived.

Severity is passed to submodules by means of the Contextualizable
mechanism. This means that the user can f.ex. set severity to INFO
in a TreeWalker and all Checks below that TreeWalker will use severity INFO.
2003-03-26 19:52:30 +00:00
Oliver Burn c0da7e0d0b Just another very useful patch from Peter Dobratz. 2003-03-19 03:48:49 +00:00
Oliver Burn 4cddf4771c Patch from Simon Kitching to allow more configuration control over the
JavadocMethodCheck.
2003-03-11 22:49:58 +00:00
Oliver Burn 093b30843e added how to not use a global classpath 2003-03-07 07:51:28 +00:00
Lars Kühne b5126f45c4 added Peter's documentation improvements 2003-03-02 16:01:06 +00:00
Lars Kühne 51987ba098 fix commandline, patch by Peter Dobratz 2003-03-02 15:58:17 +00:00
Lars Kühne 4af1cc7842 removed obsolete file, it was used to document the engine of version 2 2003-03-02 09:45:36 +00:00
Lars Kühne b99f72832a applied patches by Peter Dobratz to make lintlink happy 2003-03-02 09:35:01 +00:00
Lars Kühne 3f4fdc2743 added xhtml patch by Peter Dobratz 2003-03-01 07:43:19 +00:00