Commit Graph

760 Commits

Author SHA1 Message Date
Oliver Burn 7ea49bf36d Removed unneeded constructor 2003-01-09 04:12:49 +00:00
Lars Kühne 9074e6953f removed context hashmaps 2003-01-07 08:15:27 +00:00
Lars Kühne 59af65d194 fixed checkstyle errors
IDEAs code generation did not know about our requirements...
2003-01-03 11:43:01 +00:00
Lars Kühne feda6ebbfb made Defn a class, following the advice of Bloch 2003-01-03 10:49:41 +00:00
Lars Kühne 5dfe0406c2 removed meaningless javadoc 2003-01-03 10:44:52 +00:00
Lars Kühne c67842e015 prevent duplicate messages 2003-01-01 15:53:35 +00:00
Lars Kühne bf31a252e3 ensure that equals() is consistent with compareTo()
as advised in the documentation of compareTo()
2003-01-01 15:45:10 +00:00
Lars Kühne ac04a4e9fb removed old TODO message 2003-01-01 15:09:46 +00:00
Lars Kühne 05bee662ba wrote class javadoc 2003-01-01 15:02:54 +00:00
Lars Kühne ee6de76ea7 fixed error message 2002-12-30 15:29:28 +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
Rick Giles 8ec36bc770 improved error handling for illegal property values, e.g.
1. <property name="classLoader" value=""/>. Is it by accident or by
design that bean properties like this cannot be set because they aren't "simple" types?
2. <property name="tabWidth" value="eight"/>
2002-12-28 12:19:26 +00:00
Lars Kühne e77eef412f removed dead code 2002-12-28 09:38:00 +00:00
Lars Kühne 2149a9c42d removed todo items that have already been resolved 2002-12-27 09:58:26 +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
Lars Kühne 2a71cac7e0 improved end user error message for module hierarchy problems 2002-12-26 17:21:44 +00:00
Rick Giles b52b887d19 fixed typo 2002-12-26 13:30:35 +00:00
Rick Giles 28753ca5fe performance improvement: avoiding charAt range checks is worth the
cost of toCharArray
2002-12-25 23:27:31 +00:00
Rick Giles 4e0914c73b performance improvement - eliminate multiple instance creation for
tree context HashMap.
Still at the top of the performance hit parade for Checkstyle non-parsing methods.
2002-12-25 14:05:55 +00:00
Rick Giles 3badd996bf performance improvement - eliminate multiple instance creation for
context HashMap.
Still at the top of the performance list of Checkstyle non-parsing methods.
2002-12-25 13:07:08 +00:00
Rick Giles e0651ea2fb corrected expected error message 2002-12-25 12:51:17 +00:00
Rick Giles 23c8b2a107 corrected Checkstyle errors 2002-12-25 12:07:25 +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 b9da95f948 improve error messages 2002-12-23 00:30:12 +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
Rick Giles 44ad8ceedb added attribute "packageNamesFile" to checkstyle task element 2002-12-19 23:27:52 +00:00
Rick Giles 56dc1248f7 prevent user from setting tokens in configuration 2002-12-19 11:18:31 +00:00
Rick Giles 787ac33df7 minor Javadoc correction 2002-12-19 11:17:54 +00:00
Rick Giles 7feaf606e8 Prevent user from changing tokens in the configuration. 2002-12-19 09:46:36 +00:00
Oliver Burn a14bce7522 Refactored all the LeftCurly checks into one 2002-12-19 06:55:35 +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 8ccfddcd2d version 3.0 documentation and minor corrections 2002-12-19 00:04:37 +00:00
Rick Giles 65d0c68b6c Removed unused import (oops). 2002-12-18 19:04:50 +00:00
Rick Giles e68e6c3cff Prevent user from specifying tokens in a configuration file. 2002-12-18 18:58:59 +00:00
Rick Giles 1612aaf7d7 minor documentation corrections 2002-12-18 18:06:23 +00:00
Rick Giles 2d88ca65d2 Javadoc correction 2002-12-18 16:18:31 +00:00
Rick Giles 0dc5dd977b allocate acceptable tokens only when necessary 2002-12-18 11:19:02 +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
Rick Giles 2a29a7cb4c Added method getAcceptableTokens.
Rationale: user can configure only METHOD_DEF and CTOR_DEF tokens.
2002-12-17 20:48:30 +00:00
Lars Kühne 0d9674b955 with the delegation approach the PackageNamesBean is obsolete 2002-12-16 06:30: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 72b40a3552 corrected Javadoc comment 2002-12-16 00:40:47 +00:00