Oliver Burn
d8286130e8
Make the code "checkstyle compliant"
2011-07-12 11:47:57 +10:00
Oliver Burn
e00c478dd6
clean up the code that was assigning to a parameter.
2010-10-21 19:42:39 +11:00
Oliver Burn
e300a3a0bc
Merge
2010-10-07 12:40:40 +11:00
Oliver Burn
76e4d6d691
eating our own dog food.
2010-10-07 12:37:29 +11:00
Oliver Burn
95f7a7cde5
Enhanced the property types stringSet and intSet to support being supplied multiple times to construct the equivalent of a comma separated list.
2010-10-06 21:47:02 +11:00
Oliver Burn
595d070db0
record work for https://sourceforge.net/tracker/?func=detail&aid=1144994&group_id=29721&atid=397080
2010-10-01 16:25:11 +10:00
Oliver Burn
764360d861
Add support for enumerations.
2010-10-01 13:25:30 +10:00
Oliver Burn
ebb5c70dca
Added the new line at end of file check to the mix
2010-09-29 10:10:30 +00:00
Oliver Burn
41954c1bd0
Added NestedForDepth that restricts nested <code>for</code>
...
blocks to a specified depth (default = 1). Thanks to Alexander
Jesse for patch #1151673 .
2010-09-29 05:44:01 +00:00
Oliver Burn
84a9ea5f6b
Added OuterTypeFilename that checks that the outer type name and the file name match.
...
For example, the class Foo must be in a file named Foo.java.
2010-09-28 04:44:09 +00:00
Oliver Burn
9e5e8f1880
upgrade to latest version
2010-09-14 06:08:45 +00:00
Oliver Burn
d868a951ca
cleanup
2009-03-30 12:31:04 +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
b6161c1a59
part of refactoring to consolidate all the regexp checks.
2008-12-22 22:31:40 +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
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
8eb0d556b3
Added comment on the basedir property as suggested by ID: 2188819
2008-10-27 03:56:31 +00:00
Oliver Burn
7f1be5c858
New check OuterTypeNumber for enforcing the maximum number of outer types per file. Inspired by patch #1145023 from Alexander Jesse.
2008-07-22 06:12:22 +00:00
Oliver Burn
79404974ef
Integrate patch #1895152 , for Avoid Null Equals Comparison Check
2008-04-06 11:48:35 +00:00
Oliver Burn
d4e32973ad
Implementation of a new JavadocPackageCheck - still need the test and the documentation.
2007-12-19 04:21:43 +00:00
Oliver Burn
ac596b1c3a
Implementation of a check to ensure "correct" whitespace around the Generic statements. A long overdue check.
2007-12-16 03:59:43 +00:00
Oliver Burn
a479aa7e53
Remove '<?>' characters from the whitespace around check as this is wrong. Causes much grief.
2007-12-16 00:04:41 +00:00
Oliver Burn
85a9c1f13f
Start of adding generics.
2007-12-15 04:51:10 +00:00
Oliver Burn
788b41973d
Changes to make it possible to identify a module by an id, and then to
...
suppress messages based on the id. The motivation is to allow for finer
grained suppressions. For example, can enable multiple instances of the
Regexp check, and suppress on the individual instance.
2005-12-29 12:35:00 +00:00
Oleg Sukhodolsky
ea4085cd15
Fix for rfe 1248106 (TYPECAST is now accepted by NoWhitespaceAfter)
...
Fix for rfe 953266 (thanks to Paul Guyot (pguyot) for submitting patch)
IllegalType can be configured to accept some abstract classes which
matches to regexp of illegal type names (property legalAbstractClassNames)
TrailingComment now can be configured to accept some trailing comments
(such as NOI18N) (property legalComment, rfe 1385344).
2005-12-25 16:13:10 +00:00
Oliver Burn
ab1e308913
Incorporate excellent patch [ 1344344 ] Consolidation of regexp checks.
2005-11-06 11:54:13 +00:00
Oliver Burn
1951594e90
Added the ImportControl check. This is a check that can be used to
...
enforce which packages can import which packages. I was required to
develop this for a large project to enforce application layering rules.
The check is fairly basic at the moment, but is still sufficiently
powerful to be useful. I am sure there will be feature requests in the
future.
2005-07-27 20:29:28 +00:00
Oliver Burn
b0e77dd317
Introduce a new check called IllegalThrowsCheck which checks for illegal
...
throws declarations. I have added as I really need it for my work at the
moment.
2005-07-19 12:45:52 +00:00
Oliver Burn
35cd2f3df1
bring across from v3 branch
2004-12-05 04:41:37 +00:00