Commit Graph

726 Commits

Author SHA1 Message Date
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
Rick Giles fa0c0353c2 Changed Javadoc documentation for "config" elements to "module" elements. 2002-12-16 00:37:36 +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 fedf99f9a8 Minor cleanup. Uncomfortable with duplication in TreeWalker. 2002-12-15 12:11:50 +00:00
Rick Giles 958d0dae4d if instantiating with aName fails, try aName + "Check" (Lars' suggestion) 2002-12-15 12:10:07 +00:00
Lars Kühne 3a5f587882 renamed ASSERT to LITERAL_ASSERT for consistency with other literal tokens 2002-12-15 09:02:11 +00:00
Lars Kühne 278b12b7c2 Removed DetailsAST.setParent() from public API.
I'm scaring myself with the techniques I used to achieve this, but
I opted for getting the API right. We can't fix the API once
it's out the door, whereas we can try to remove this hack later after
more investigation how ANLTR works.
2002-12-14 11:09:22 +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
Rick Giles b25fe8281b restore original LineLengthCheck ignorePattern property 2002-12-12 11:39:05 +00:00
Lars Kühne a49ad917dd fixed NPE in TranslationCheck, make sure getParentFile is not null 2002-12-12 06:51:25 +00:00
Oliver Burn b3caa3b7ad Fix bug where init/destroy not called for Checks. 2002-12-12 04:19:11 +00:00
Rick Giles 97993a0de7 more Javadoc 2002-12-11 00:32:25 +00:00
Rick Giles 2992f90777 more Javadoc 2002-12-10 23:55:08 +00:00
Lars Kühne 08d6efe49d make AutomaticBean.configure() final and provide defined extension points
to prevent programming errors in user classes.
2002-12-10 19:13:35 +00:00
Lars Kühne 987da3a4c5 removed redundant type cast (the magic of InelliJ IDEA) 2002-12-10 18:04:01 +00:00
Lars Kühne 30bb5b3a28 make it clear that DetailAST is not meant to be extended by Check authors 2002-12-10 06:06:55 +00:00
Rick Giles ae7e188a7e beef up Javadoc. Could use a proofreader now.
TODO:
HeaderCheck,
RegexpHeaderCheck - what's RFE 597676?
VisibilityModifierCheck - is the comment about "serialVersionUID" consistent with the code?
2002-12-10 00:37:43 +00:00
Rick Giles c96328af56 beef up Javadoc 2002-12-09 23:49:52 +00:00
Rick Giles 846d0c9b42 beef up Javadoc 2002-12-09 23:20:37 +00:00
Rick Giles 788d76df1e beef up Javadoc 2002-12-09 23:09:39 +00:00
Rick Giles f990ba954f beef up Javadoc 2002-12-09 22:40:52 +00:00
Rick Giles fda74b99f1 Fixed minor Javadoc copy/paste errors. Will go through the rest before making
a 2nd pass.
2002-12-09 19:00:14 +00:00
Rick Giles 4c542d0a23 beef up Javadoc 2002-12-09 18:53:11 +00:00
Rick Giles a6c7df6314 beef up Javadoc 2002-12-09 17:42:40 +00:00
Rick Giles 1d9fd93ed2 beef up Javadoc 2002-12-09 15:59:46 +00:00
Rick Giles 2a844aec7d beef up Javadoc 2002-12-09 15:34:41 +00:00
Oliver Burn 8e55d5c091 Support the {@inheritDoc} tag. 2002-12-09 12:12:57 +00:00
Oliver Burn a362f4213c Fix Javadoc error. Nice check Lars. 2002-12-09 12:10:35 +00:00
Oliver Burn 52fc35e8b6 refactored a parameter name 2002-12-09 11:42:43 +00:00
Rick Giles b718cf1ece beef up Javadoc 2002-12-09 11:06:52 +00:00
Rick Giles f1c2e34d74 beef up Javadoc 2002-12-09 09:42:05 +00:00
Lars Kühne 294e959728 added german translation 2002-12-09 06:52:52 +00:00
Lars Kühne eb522eece2 fixed i18n issues 2002-12-09 06:27:40 +00:00
Oliver Burn b8d0a65d50 Fix Eclipse warnings about unused variables 2002-12-09 00:14:20 +00:00