Rick Giles
a2ed8a53c5
efficiency improvement - don't go up the tree twice.
2003-05-30 20:41:00 +00:00
Oleg Sukhodolsky
1878e21451
Added check for uncommented main methods (debugging leftovers). (module UncommentedMain,request 732257)
2003-05-30 19:35:55 +00:00
Rick Giles
e8ad93aea6
corrected false MagicNumberCheck errors for interfaces (bug 745941)
...
MagicNumberCheck now checks array initializers. (request 745949)
2003-05-30 10:37:35 +00:00
Oleg Sukhodolsky
4628bc229d
removing unneded ^M, which cause test failure on Windows
2003-05-30 06:20:56 +00:00
Rick Giles
6625258bde
cleanup
2003-05-29 09:26:49 +00:00
Rick Giles
d5e08f7cb1
increase test coverage
2003-05-29 09:17:34 +00:00
Oliver Burn
aa8763be0e
cosmetics
2003-05-29 04:09:55 +00:00
Oleg Sukhodolsky
55512ae033
Added check for trailing comma in array initialization. (module ArrayTrailingComma, request 696301)
2003-05-29 03:30:44 +00:00
Rick Giles
567f15c79a
instantiate custom listeners from the task's classpath
2003-05-28 11:56:02 +00:00
Oliver Burn
5133219581
Fixed NPE when running ArrayTypeStyle check (bug 744573)
2003-05-28 08:40:16 +00:00
Rick Giles
f2b01a44a2
Added custom listener feature
2003-05-27 17:33:24 +00:00
Rick Giles
7dd1ab24d1
Moved AuditEvent and AuditListener to api package in preparation
...
for enabling users to write listeners.
2003-05-26 21:52:10 +00:00
Oliver Burn
e76a039c39
Re-added Japanese translation. Thanks to Kazutaka Takahashi [kaz-taka AT xb3
...
DOT so-net DOT ne DOT jp]
2003-05-25 12:02:04 +00:00
Oliver Burn
73401dcb38
Updated translations - thanks Pedro (not Dados:-)
2003-05-23 10:47:19 +00:00
Oliver Burn
da90e637e3
Updated translations - thanks Lars
2003-05-23 05:25:57 +00:00
Oliver Burn
929dc770ef
Removed messages that were in English.
2003-05-23 00:24:22 +00:00
Rick Giles
9bb2ad91c9
renamed DesignForInheritanceCheck to DesignForExtensionCheck
2003-05-22 23:25:22 +00:00
Oleg Sukhodolsky
3925906fae
fix for DetailAST's parent problem
2003-05-22 11:48:04 +00:00
Rick Giles
1e67ec5577
Incorporated patch from Bill Schneider to add property to
...
GenericIllegalRegexpCheck for case-insensitive matches
(request 740112).
2003-05-21 13:39:23 +00:00
Rick Giles
73b6af97e4
Enhancements by Dale King, RFE 740545
2003-05-20 16:23:32 +00:00
Oliver Burn
8cf07f17e8
RFE 739881: Moved the location of the file
...
checkstyle_packages.xml to be in the directory
com/puppycrawl/tools/checkstyle. This is to work around
a bug in NetBeans.
2003-05-20 13:30:41 +00:00
Oleg Sukhodolsky
860bc141c5
removing trailing whitespace
2003-05-20 10:39:58 +00:00
Oleg Sukhodolsky
e24b549624
Indentation:
...
One more bug fix to make.
Now IndentationCheck accepts
new int[] {1, 2,
3};
but rejects
new int[] { 1,
2, 3};
It's temporary fix to make Checkstyle's sources clear
from Indentation check posint of view.
2003-05-19 19:24:19 +00:00
Oleg Sukhodolsky
f0edd3eaf1
Indentation:
...
fix for indentation problems found be Indentation check.
Indentation check added to checkstyle_checkstyle.xml with "warning" severity.
2003-05-19 17:34:26 +00:00
Oliver Burn
9b86619fca
Fix bug where not closing the file.
2003-05-19 03:19:52 +00:00
Oleg Sukhodolsky
7d38133e43
Indentation:
...
Remove unneeded overloading.
One more bug fix.
One more testcase.
2003-05-18 20:20:24 +00:00
Oleg Sukhodolsky
661a9b0ddb
Cosmetic changes in ExpressionHandle and LineSet.
...
Fixed bug with:
if (foo()
|| con1
|| con3)
{
}
Input for unit-test modified.
2003-05-18 18:48:27 +00:00
Lars Kühne
7347cc361b
added tests for InterfaceIsType check
2003-05-18 07:46:19 +00:00
Lars Kühne
87bdf9e553
account for '.' that has been added to error message
2003-05-18 07:44:22 +00:00
Lars Kühne
aabcf13ebd
i18n of InterfaceIsType check
2003-05-18 07:23:35 +00:00
Lars Kühne
fc2265e093
i18n of AvoidNestedBlocks check
2003-05-18 07:07:59 +00:00
Lars Kühne
ffc72b6566
improved report for failing tests
2003-05-18 07:01:31 +00:00
Lars Kühne
545d9f02ff
added tests for AvoidNestedBlocks check
2003-05-18 07:00:51 +00:00
Lars Kühne
c1863ec7e2
i18n of AvoidNestedBlocksCkeck
2003-05-18 06:56:28 +00:00
Oleg Sukhodolsky
896b671caa
Added property for GenericIllegalRegexp to customize reported message.
...
(module GenericIllegalRegexp, property message, request 738567)
2003-05-17 18:09:28 +00:00
Oleg Sukhodolsky
ee4982a7bf
removing trailing whitespaces :( i wonder who add them ;)
2003-05-16 19:02:37 +00:00
Oleg Sukhodolsky
d1f564190c
Replace error loggin (using System.out) with throwing exception,
...
because these are real exceptions.
2003-05-16 18:39:18 +00:00
Lars Kühne
c1b12397d2
added tests for HideUtilityClassConstructorCheck
2003-05-16 15:56:24 +00:00
Lars Kühne
cc04f70fa6
added FinalParametersCheckTest to test suite
2003-05-16 15:42:04 +00:00
Lars Kühne
2c3c80cdc5
added tests for ArrayTypeStyleCheck
2003-05-16 15:31:31 +00:00
Oliver Burn
3dfa7b74b0
Ignore coverage on the untestable
2003-05-16 13:11:15 +00:00
Oliver Burn
1c98a922af
petty reformat
2003-05-16 13:03:08 +00:00
Oliver Burn
df8c041131
Remove unused code. Damn that Clover. ;-)
2003-05-16 03:36:23 +00:00
Oleg Sukhodolsky
8d9d5e58ac
I18N for IndentationCheck
2003-05-16 02:54:42 +00:00
Oleg Sukhodolsky
3fa2424fb3
indentationAmount property renamed to basicOffset
...
(files missed in previous putback)
2003-05-15 17:31:24 +00:00
Oleg Sukhodolsky
092e1f6947
indentationAmount property renamed to basicOffset
2003-05-15 15:54:49 +00:00
Oleg Sukhodolsky
0eeb5e4fd6
IndentationCheck now accepts the follows "if" indenation
...
if (test
)
2003-05-15 14:25:46 +00:00
Oliver Burn
a4d63db21d
Disabled the translation check for the moment.
...
Added a check to detect trailing whitespace as discussed today and fixed all
the resulting errors. Thank god for Emacs, I recorded a keyboard macro to fix
all the errors. Otherwise this would have been a tough task.
2003-05-14 08:11:49 +00:00
Oleg Sukhodolsky
eada48861e
IndentationCheck added to test-suite
2003-05-14 03:33:02 +00:00
Oleg Sukhodolsky
bb0a041a3a
Added check for redundant exceptions in
...
throws clause (module RedundantThrows, request 579056)
2003-05-14 03:18:33 +00:00