Oliver Burn
d868a951ca
cleanup
2009-03-30 12:31:04 +00:00
Oliver Burn
b29e7a4c49
bump the version
2009-03-30 11:27:55 +00:00
Oliver Burn
5561fb1368
fix missing documentation.
2009-03-30 11:24:46 +00:00
Lars Kühne
56687a09f9
Applied patch from lkoe to fix bug #2707473 and added the GenericWhitespace check.
2009-03-26 21:50:55 +00:00
Oliver Burn
8a7713b4f7
record work on patch #2534038 from Travis for new annotation checks. Very good patch as usual from Travis. Shame on me for taking so long to apply it.
2009-03-23 10:49:39 +00:00
Oliver Burn
216fcb79f9
a new year
2009-03-22 04:16:58 +00:00
Oliver Burn
35ae851486
preparing for a release.
2009-03-22 03:52:46 +00:00
Oliver Burn
d9860f750b
remove the TabCharacterCheck and will be replaced by FileTabCharacterCheck.
2009-03-22 02:58:15 +00:00
Oliver Burn
e1761d121d
fix a couple of FindBugs errors
2009-03-18 11:44:02 +00:00
Lars Kühne
4010f97130
corrected scm link (we have been using svn for quite some time now) and tracked recent upgrade of google collections (Note: new group id! not sure that this is correct but the new version was not available using the old group id)
2009-03-17 21:20:34 +00:00
Lars Kühne
d5a27ed79b
upgraded to current release of google-collections, 0.9 / snapshot-20090211
...
* they moved some the factory methods for creating immutable sorted sets to a different class
* they removed the old convenient API for building singleton TreeSets in one line
* they removed RefernceMap in favor of MapMaker
2009-03-17 21:07:25 +00:00
Lars Kühne
f5b82ec75f
fixed import control problem for TranslationCheck in gump target
2009-03-17 20:35:43 +00:00
Oliver Burn
d73aed8c02
remove old code.
2009-03-08 10:33:50 +00:00
Oliver Burn
ad34b2a35e
Fixed the LeftCurly check to ignore leading annotations. Thanks to Tim Carpenter for patch #2506439 . An excellent quality patch.
2009-03-08 10:30:30 +00:00
Oliver Burn
211e2414ae
Added the SuppressWithNearbyCommentFilter filter that uses nearby comments to suppress audit events. Thanks to Mick Killianey for providing patch #2354424 .
2009-03-08 04:21:41 +00:00
Lars Kühne
326e3ae67b
Added the option "charset" to the header checks to allow controlling the encoding of the header file (rfe 1952641).
2009-02-05 23:08:53 +00:00
Lars Kühne
b83c9aceef
Simplified the code by removing HeaderInfo classes, they were introduced to avoid code duplication between header checks in two separate inheritance trees (Java Check vs. FileSetCheck). Now that we have only FileSetChecks as Header checks, this delegation is no longer necessary.
2009-02-05 21:22:49 +00:00
Oliver Burn
9cff1673f1
Enhanced JavadocMethod to be more restrictive on where {@inheritDoc} can be used. Also enhanced JavadocPackage to ensure a package-info.java file contains a comment. Thanks to Travis Schneeberger for providing patch #2294029 .
2009-01-11 04:10:12 +00:00
Oliver Burn
1c1eadb211
snapshot of a work in progress
2009-01-11 03:29:42 +00:00
Oliver Burn
7823165cce
Enhanced JavadocStyle to check for allowed HTML tags. Thanks to Nicolas Dordet for providing patch #2214251 .
2009-01-09 05:45:24 +00:00
Oliver Burn
e389849df6
[ 2438924 ] XMLogger produces invalid XML
2008-12-24 09:14:32 +00:00
Oliver Burn
b5fbe1215c
part of refactoring to consolidate all the regexp checks.
2008-12-24 04:27:13 +00:00
Oliver Burn
4ef829c6ec
part of refactoring to consolidate all the regexp checks.
2008-12-24 04:14:16 +00:00
Oliver Burn
b6161c1a59
part of refactoring to consolidate all the regexp checks.
2008-12-22 22:31:40 +00:00
Oliver Burn
429c109457
sample GIT pre-commit hook
2008-12-22 21:19:30 +00:00
Oliver Burn
61f25fbed0
start of refactoring to consolidate all the regexp checks.
2008-12-22 11:21:35 +00:00
Oliver Burn
a1c457174f
opps - forgot to delete this.
2008-11-16 11:16:47 +00:00
Oliver Burn
f66b504b06
consolidation of code.
2008-11-16 11:11:02 +00:00
Oliver Burn
4a54918109
removing CrossLanguageRegexpHeaderCheck.
2008-11-16 10:54:31 +00:00
Oliver Burn
bf16d371da
converting the header checks to be fileset based.
2008-11-16 10:30:12 +00:00
Oliver Burn
fc8a5ae78c
Changed FileLength check to be a FileSetCheck.
2008-11-09 12:12:27 +00:00
Oliver Burn
67e304551b
documentation update.
2008-11-09 11:04:09 +00:00
Oliver Burn
f1fcae2314
remove an unneeded setter.
2008-11-09 10:43:58 +00:00
Oliver Burn
379fbd8e20
update documentation for charset.
2008-11-09 10:31:34 +00:00
Oliver Burn
2e4762f171
consolidate charset handling.
2008-11-09 10:19:43 +00:00
Oliver Burn
13b7c63433
A large refactoring to move the functionality of open/reporting on files into Checker and out of FileSetCheck. The advantages are:
...
- reduces the logic required in each implementation of FileSetCheck.
- reduces, but not eliminates, the number of times a file is reported as being audited.
- reduces the amount of times a file needs to be read in from the file system.
The motivation is the desire to move more checks to be purely FileSetCheck based, like the TabCharacter check.
I still need to do some tidying up of the documentation, and make Checker support "charset".
2008-11-09 09:37:27 +00:00
Oliver Burn
5dfb3f5a9e
fix broken test.
2008-11-08 03:27:46 +00:00
Oliver Burn
bd8a1a545f
New check FileTabCharacter for ensuring that any files does not contain a tab character. It is now used to ensure the documentation files do not contain tabs.
...
Also introduced Utils.closeQuietly to clean up code.
2008-11-06 07:21:12 +00:00
Oliver Burn
4542d7c95e
Added documentation for the enhanced DescendantTokenCheck.
2008-11-05 00:48:09 +00:00
Oliver Burn
6a5d1ff834
enhanced the DescendantTokenCheck to have a property to use the total of found tokens, not the individual counts. This allows a check to be configured to find code like:
...
if (this != null) { ...
Where it is crazy to "this" in this way (pun intended!).
Still need to document the change.
2008-11-04 20:10:43 +00:00
Oliver Burn
3d56a294c0
fixing up to only have runtime dependencies.
2008-10-28 21:58:45 +00:00
Oliver Burn
c6d30db200
Checkstyle command-line no longer reports a usage error if the user specifies a directory with the -r option that does not contain any files. Thanks to Florian for patch #2151706 .
2008-10-28 07:11:26 +00:00
Oliver Burn
bcbea91704
apply patch to update Maven dependencies.
2008-10-28 07:01:44 +00:00
Oliver Burn
b2ac4e14e7
remove old file.
2008-10-28 06:51:59 +00:00
Oliver Burn
8eb0d556b3
Added comment on the basedir property as suggested by ID: 2188819
2008-10-27 03:56:31 +00:00
Oliver Burn
203fb68335
update list of tools to include Sonar
2008-10-23 11:08:39 +00:00
Lars Kühne
0cc473e04f
The NCSS complexity checker reported an incorrect fileMax value (bug #2161419 ).
2008-10-20 21:50:18 +00:00
Oliver Burn
7f92af2b87
support running the sun_checks.xml
2008-10-06 04:03:30 +00:00
Oliver Burn
a9e923790f
Fix a typo.
2008-09-22 23:50:14 +00:00
Oliver Burn
d62a2cc020
Inspired by patch# 2111354 - changes to remove casting. Neat trick
2008-09-18 11:34:16 +00:00