Oliver Burn
1fdf65bf01
Incorporate patch 566855 from Rob Worth to optionally check that parenthesis
...
are padded with spaces.
Big thanks to Lars for suggesting that the Pad Option not be a boolean so
somebody could one day submit this patch. :-)
2002-08-21 04:39:27 +00:00
Oliver Burn
d92ceb81a6
Implemented enforcing having @version tag. (Request 543964).
2002-08-20 13:08:37 +00:00
Oliver Burn
ecc852d48b
Added support to specify a country so that the call to the Locale()
...
constructor is not dependent on JDK 1.4.
2002-08-12 12:10:57 +00:00
Oliver Burn
5890d22a6d
Added documentation for localisation and the ability to set the language.
2002-08-12 09:02:41 +00:00
Oliver Burn
7781985a34
Request 582144: added documentation.
2002-08-12 07:40:29 +00:00
Oliver Burn
ea371c4f3a
Changed the wrap on operator implementation to take an option rather than a
...
boolean. This allows it to be extended easily in the future.
2002-07-08 03:47:56 +00:00
Lars Kühne
f10286c78b
avoid double negation in description of illegal.instantiations
2002-07-06 08:56:30 +00:00
Lars Kühne
90f1a05e2b
removed my email address to avoid spam
2002-07-06 08:50:57 +00:00
Oliver Burn
bbe51f6884
571161: Added support for basedir attribute.
2002-07-01 01:57:36 +00:00
Oliver Burn
0e62f23a10
573485: detect redundant 'abstract'
2002-06-26 13:17:31 +00:00
Oliver Burn
d8d9269bbc
Added documentation for checkUnusedThrows.
2002-06-16 12:23:37 +00:00
Oliver Burn
3da466b9bf
Added check to ensure that long integer literals use L, not l. Also fixed bug
...
by my over zealous removal of toString() methods.
2002-06-06 11:45:40 +00:00
Oliver Burn
4018efa9fe
Refactored the catch block checking code to include try/catch/finally blocks.
2002-06-05 13:17:20 +00:00
Oliver Burn
ccd30545e2
Added documentation for checking for wrapping on operators
2002-05-29 13:00:28 +00:00
Lars Kühne
da940af362
Implementation, tests and docs for generalization of instantiation check. Users can now specify a list of classes that are not allowed to be instantiated.
...
This also fixes Bug 556317, Boolean instantiation, as now a config option is provided and the check for java.lang.Boolean is turned off by default
2002-05-28 20:23:00 +00:00
Oliver Burn
1c5c068b3a
Updated for catchBlock option
2002-05-26 13:27:36 +00:00
Lars Kühne
4425afa0c2
- #516255 , find empty exception handlers. Maybe we should add some
...
"OK if commented" option, but I don't see how to do that in the grammar.
- initial support for #550205 , find instantiations of Boolean. This is not
configurable yet, and we should generalize it to find instantiation of
arbitrary types. Docs are also still missing, will write them after
generalization.
2002-05-15 04:34:59 +00:00
Oliver Burn
dfd7310b96
Fix documentation to:
...
- Include a version number in headings
- Use the ANT <filterset> to update the version number. No longer need to
update the docs for each release.
2002-05-14 04:33:54 +00:00
Oliver Burn
fca8c91804
Request 504275: detect to-do comments
2002-05-13 12:52:55 +00:00
Lars Kühne
475115172e
added hint about regexp-disabling of linelength check
2002-05-05 12:27:55 +00:00
Lars Kühne
1825bf38b9
fixed capitalization error that prevented link from working
2002-04-28 12:47:17 +00:00
Oliver Burn
3ded17ac3d
Changed support for parenthesises padding to take an option, rather that being
...
a boolean of whether to ignore or not. This will allow the adding of more
styles in the future. Good idea Lars! :-)
2002-04-24 14:36:27 +00:00
Oliver Burn
083a7d432a
Added option to disable checking for padding of parenthesis. As asked for by
...
Lars. Eventually should have an option to allow different styles - rather the
current "Sun way" or the "highway.
2002-04-22 10:41:10 +00:00
Lars Kühne
caf539ded2
Implementation + docs for rfe 537107, "public" in interface methods
2002-04-21 21:02:57 +00:00
Lars Kühne
00447a8fe3
added check for illegal imports
2002-04-17 04:43:55 +00:00
Oliver Burn
49314771b6
Fixed bug that allowed constant declarations to contain "__".
2002-04-07 09:16:43 +00:00
Lars Kühne
59a8339758
updated tested JREs, fixed bug 517398
2002-02-26 06:03:31 +00:00
Lars Kühne
10691121f4
fixed typo (making vs. maximum)
2002-02-24 16:00:00 +00:00
Oliver Burn
171e8d02b5
Documented the rcurly option
2002-02-23 11:14:59 +00:00
Oliver Burn
05e366ecf3
Fixed errors found by Tidy ( http://www.w3.org/People/Raggett/tidy/ ).
2002-02-22 04:49:30 +00:00
Oliver Burn
2afaad3fa2
Added documentation for the lcurly options.
2002-02-22 04:43:09 +00:00
Oliver Burn
59ce3f31d7
Added support for brace checking on the keywords try, catch, finally, static.
...
What are not covered deliberately are labels and instance initializers.
2002-02-22 04:12:04 +00:00
Oliver Burn
41e2089574
Added support for - for, do, else, synchronized
2002-02-22 03:37:41 +00:00
Oliver Burn
f4860ef3b4
Implemented brace checking for "if" and "while"
2002-02-22 03:11:36 +00:00
Oliver Burn
e61ba618f2
Scaring myself, but writing the documentation first for the brace checking.
2002-02-19 02:50:35 +00:00
Lars Kühne
faf76530d8
RFE #514033 , check order of modifiers (implementation, test, and documentation)
2002-02-15 06:47:51 +00:00
Lars Kühne
913028d7f2
Implementation, docs and test for RFE 438478, ignore multiple lines in header.
...
This change is compatible for command line, Ant, and API.
The API compatibility resulted in some deprecated methods in Configuration,
you can remove them if you think that API compatibility is not as
important as clean code.
2002-02-10 18:29:10 +00:00
Oliver Burn
bdd55605c0
Clarified (hopefully:-) how line counts are made on methods
2002-02-09 13:26:25 +00:00
Oliver Burn
db84febeb5
Update the tests and documentation for checking whitespace around periods.
...
#493383
2002-02-09 13:18:30 +00:00
Lars Kühne
6fc674d4bf
new feature 'headerfile regular expression support, rfe #499259'
2002-02-07 20:34:11 +00:00
Oliver Burn
2ceae1b3c4
Small cleanup
2002-02-06 05:33:59 +00:00
Lars Kühne
aeacc039ed
Added documentation for new parameters
...
requirePackageHtml, methodPattern, localVarPattern, allowPackage
2002-02-05 20:34:21 +00:00
Oliver Burn
82ed05b01a
Fixed HTML errors reported by Tidy.
2002-01-24 04:10:58 +00:00
Oliver Burn
9dd92fc237
cleaned up after a review by a colleague.
2002-01-22 05:39:28 +00:00
Oliver Burn
604162085b
improved comments about output format
2002-01-22 01:22:43 +00:00
Lars Kühne
3cb5c532cf
use consistent style in all documentation files
2002-01-21 18:51:25 +00:00
Oliver Burn
f1aa8a33bc
Final comments about output
2002-01-21 12:08:30 +00:00
Oliver Burn
acb0b4e16a
started on documenting the formatters - not finished yet.
2002-01-21 06:33:43 +00:00
Oliver Burn
d137c3a72e
grammar correction
2002-01-21 04:12:23 +00:00
Oliver Burn
b07067274b
first cut
2002-01-21 03:41:07 +00:00