Commit Graph

335 Commits

Author SHA1 Message Date
Lars Kühne c67842e015 prevent duplicate messages 2003-01-01 15:53:35 +00:00
Lars Kühne 05bee662ba wrote class javadoc 2003-01-01 15:02:54 +00:00
Lars Kühne 2440fa45b2 removed PublicMemberNameCheck, check public members with MemberNameCheck
updated docs to reflect that change
2002-12-30 14:58:12 +00:00
Lars Kühne fb3aab764e renamed class from AvoidStarImport to AvoidStarImportCheck
so the name conforms to the *Check naming convention used
for all other classes
2002-12-29 14:26:07 +00:00
Lars Kühne 9a05522373 response to rfe #651121, Redundant field modifiers in interface:
added final to list of redundant modifiers
improved tests RedundantModifierTest to cover constants
2002-12-29 11:15:58 +00:00
Lars Kühne 28d1968038 fixed bug #658805, Fully-qualified @throws claimed unused 2002-12-29 10:00:37 +00:00
Lars Kühne 5ce6ad4df6 ModifierCheck to ModifierOrderCheck 2002-12-29 08:46:55 +00:00
Lars Kühne 58ce4c4097 fixed bug #648708, Misleading doc for checkUnusedThrows
Renamed property checkUnusedThrows to allowUndeclaredRTE to better reflect the meaning of the property.
2002-12-27 09:31:33 +00:00
Lars Kühne b8c558e473 Moved detection of missing headerFile property to configuration phase
This means that Checkstyle will not run, until now it was writing
a configuration error in the audit log file.

Also fixes bug #629139, Empty value ignores file
2002-12-27 08:16:46 +00:00
Rick Giles e0651ea2fb corrected expected error message 2002-12-25 12:51:17 +00:00
Lars Kühne 661274b680 improved error messages for JavadocTypeCheck 2002-12-23 15:58:16 +00:00
Lars Kühne e8d025321c don't silently ignore misspelled property names 2002-12-23 07:39:40 +00:00
Lars Kühne 2674c0cb24 VisibilityModifier didn't have the set of allowed names that were mentioned in the docs,
which is OK since that can be done by pattern matching.
Replaced the f-pattern with serialVersionUID and fixed the docs and tests accordingly.
2002-12-22 08:34:45 +00:00
Oliver Burn f50c47545a Refactored all the LeftCurly checks into one 2002-12-19 06:50:19 +00:00
Oliver Burn b2ceac7a2b Removed test as requested. Not required anymore 2002-12-19 03:50:22 +00:00
Rick Giles 95a5040ccc Added required tokens. 2002-12-18 10:55:36 +00:00
Oliver Burn 39ff4631b4 should this test still exist??? 2002-12-17 22:21:17 +00:00
Lars Kühne 88e89a138a Changed implementation of module name resolution from inheritance to delegation approach 2002-12-16 06:26:46 +00:00
Rick Giles 4564aecb5c Changed configuration XML element "config" to "module".
Dropped suffix "Check" in Check configurations.
2002-12-16 00:22:14 +00:00
Rick Giles 958d0dae4d if instantiating with aName fails, try aName + "Check" (Lars' suggestion) 2002-12-15 12:10:07 +00:00
Rick Giles 6ba28f2ef1 Added XML declaration.
A DTD would be nice, too.
Will work on that tomorrow.
2002-12-12 23:52:30 +00:00
Rick Giles 148513d67a paranoia 2002-12-12 20:51:56 +00:00
Oliver Burn b8d0a65d50 Fix Eclipse warnings about unused variables 2002-12-09 00:14:20 +00:00
Rick Giles 26b2b0e541 improved test coverage. 2002-12-08 11:44:24 +00:00
Rick Giles 8e949ff141 improved test coverage. (The original AllTests test suites were generated
with the Eclipse new JUnit Test Suite wizard that recognizes all test cases
in the target folder.)
2002-12-08 10:39:41 +00:00
Oliver Burn 9c3adbdba3 Improve code coverage 2002-12-08 05:05:42 +00:00
Oliver Burn 78a1cb5320 Improve code coverage 2002-12-08 04:52:57 +00:00
Oliver Burn e7165e0023 ooppss - forgot to add this, Wonder how this is generated? 2002-12-08 04:20:12 +00:00
Oliver Burn 7112470375 improve code coverage 2002-12-08 04:15:07 +00:00
Oliver Burn 8a75a5feec improve code coverage 2002-12-08 04:09:15 +00:00
Oliver Burn 3215661e63 minor changes found will trying to debug why the tests
are failing.
2002-12-08 03:18:25 +00:00
Oliver Burn f1918ff499 Move across to the correct package 2002-12-07 14:44:27 +00:00
Oliver Burn 2584fe7a9b Move across to the correct package 2002-12-07 14:34:07 +00:00
Oliver Burn 913cb76d04 Move across to the correct package 2002-12-07 14:22:45 +00:00
Oliver Burn de9f3e7b88 Move across to the correct package 2002-12-07 14:04:50 +00:00
Oliver Burn 09b3756690 Move across to the correct package 2002-12-07 13:56:24 +00:00
Oliver Burn 57bb8f3e0f Move across to the correct package 2002-12-07 13:49:22 +00:00
Oliver Burn 3d77a28657 Move across the import checks 2002-12-07 13:43:21 +00:00
Oliver Burn 5190c8f656 Refactoring to put the unit tests for the checks into the
proper package.

Side note: Eclipse makes this refactoring very easy to do.
As part of the move it performs all the CVS operations
that are required for moving a file. I actually like the
Eclipse support for CVS, I thought nothing would beat
good old Emacs.
2002-12-07 13:34:49 +00:00
Rick Giles 730ade67d5 changed to regular expressions for @author and @version tags
- thanks to Lars for suggestion
2002-12-07 12:02:32 +00:00
Oliver Burn 2386d3e852 Implemented proper error handling for parse errors. 2002-12-07 07:09:13 +00:00
Rick Giles 118b4451d1 updated to current set of test cases 2002-12-06 14:04:04 +00:00
Oliver Burn cf5946b2ce Now all the tests run again! Now we need to fix all the
Checkstyle errors in the newly added source code.
2002-12-06 06:39:14 +00:00
Oliver Burn 5b90aaa412 Start of investigation into getting the unit tests to run. 2002-12-06 06:31:51 +00:00
Oliver Burn 90ab42cdc7 Small refactoring 2002-12-06 03:52:36 +00:00
Rick Giles 686afc521a modified for config XML 2002-12-05 18:50:13 +00:00
Lars Kühne ce9f55c439 make sure that Checker calls the destroy method of FileSetCheck.
Clover is really cool, I found this bug by looking at the coverage
of AbstractFileSetCheck - clover told me that destroy was never
executed and that seemed strange to me.
2002-12-05 06:29:51 +00:00
Lars Kühne 46c634bea2 added test for TranslationCheck along with some imput files 2002-12-05 06:07:32 +00:00
Oliver Burn b2217341ec wrote in a cleaner way (IMHO :-) 2002-12-02 11:00:22 +00:00
Lars Kühne dcec4c27ea fixed bundle of ws.notFollowed 2002-12-02 06:05:30 +00:00