Commit Graph

2120 Commits

Author SHA1 Message Date
Oleg Sukhodolsky 89ee699fae Applied patch 906531 (WhitespaceAround allows empty method/ctor bodies.) Thanks to Eric Roe 2005-11-01 15:38:32 +00:00
Oleg Sukhodolsky 1aee9d55cc Fixed 1290379 (now JavadomMethod check does not allow single @see tag in javadoc). NUMBER of javadocs changed to follow new rule. 2005-10-31 19:23:48 +00:00
Oleg Sukhodolsky d46dc44e79 FallThrough check now can check last case group (property checkLastCaseGroup, bug 1245942). 2005-10-31 12:31:38 +00:00
Oleg Sukhodolsky 73e2e24fca added antlib.xml with checkstyle task definition. Also fixed line numbers in suppressions.xml 2005-10-31 11:12:23 +00:00
Oleg Sukhodolsky d3dd058645 1333159 (A relief hook for JavadocMethodCheck) thanks to Ralf (rakus) 2005-10-28 20:29:48 +00:00
Oleg Sukhodolsky 4c1700ebe1 Applied patches 1339523(partially) and 1340300 2005-10-28 19:04:01 +00:00
Oleg Sukhodolsky 342ae1315c Three more fixes for Indentation check (bugs 1251988, 1260079, 1336737). 2005-10-25 19:15:53 +00:00
Oleg Sukhodolsky b78f144ee4 Fixed bug in logic JavadocStyle check uses to get main-section of javadoc (bug 1291847). 2005-10-24 18:08:44 +00:00
Oleg Sukhodolsky b4ad010003 Fixed 1322879 - ParenPadCheck should be aware about ou current grammar ;) 2005-10-24 16:46:57 +00:00
Oleg Sukhodolsky ea0c517992 Fixed a funny typo in grammar (bug 1335088) 2005-10-24 15:18:14 +00:00
Lars Kühne 452efe9720 moved InnerAssignment test code to coding/InputInnerAssignment
keeping blank lines to leave reported line numbers of other checks unchanged
2005-10-23 07:53:31 +00:00
Lars Kühne 2554557c1c fixed bug #1195047, InnerAssignment check didn't find all instances of inner assignments 2005-10-23 07:49:43 +00:00
Lars Kühne e3741d1026 fixed typo 2005-10-21 11:50:53 +00:00
Lars Kühne 9c0d514694 removed obsolete import 2005-10-21 05:33:18 +00:00
Oliver Burn 70f4568a3d Fix encoding problems when parsing XML (patch 1320132) 2005-10-19 12:44:44 +00:00
Oliver Burn 253622ab83 Patch 254918 from taab. 2005-10-08 01:18:51 +00:00
Oliver Burn 4795a2b485 Applied patch 1292684 from Maarten Coene. 2005-10-08 00:43:16 +00:00
Oliver Burn d17dc3ab28 Fixing up my brain dead assertions. Moral, run the code with the assertions enabled. ;-) 2005-10-08 00:18:30 +00:00
Oliver Burn d9f789a649 Applied patch 1309516. 2005-10-06 14:18:14 +00:00
Oliver Burn 8fe7c3a914 Fix for infrastructure class loader. Needs to be verified by Lars (of
Eclipse plug-in fame! :-)
2005-09-25 10:50:56 +00:00
Oliver Burn 85413204e1 Added Spanish messages (patch 1250329). 2005-09-21 11:31:53 +00:00
Oliver Burn db5bacf5e4 Fix release number 2005-09-15 11:56:44 +00:00
Oleg Sukhodolsky 8f46a8cf8c Fix for 1289067 - removing docs about usage. 2005-09-15 10:41:56 +00:00
Oleg Sukhodolsky b046184f90 French messages for some checks (bug 1262825, contributed by Fabrice Bellingard) 2005-09-12 11:18:14 +00:00
Oleg Sukhodolsky 77235d01aa making "target" absolute path. 2005-09-12 07:43:28 +00:00
Oleg Sukhodolsky 1214dd0e74 fix for 1284682: enum constant are treated the same way as final fields. 2005-09-12 07:20:17 +00:00
Oleg Sukhodolsky 9cbee6a57e i18n support for HideUtilityClassCtor and ArrayTypeStyle checks (bug 1262825) 2005-09-08 12:32:35 +00:00
Oliver Burn 11939b72a5 Code correction. 2005-09-07 21:37:47 +00:00
Oleg Sukhodolsky 89f764baad grammar changes for (SUPER_)CTOR_CALL 2005-09-07 15:56:51 +00:00
Oleg Sukhodolsky 51628343a3 fixed documentation (bug 1275988) 2005-08-30 03:51:15 +00:00
Oleg Sukhodolsky 4c70d9a5dd Hope I finally was able to write correct javadoc for RBRACK >:-( 2005-08-17 09:39:38 +00:00
Oleg Sukhodolsky 8383617e84 It's a good idea to run gump. Fixed javadoc for new token. 2005-08-17 07:04:54 +00:00
Oleg Sukhodolsky 865ba5284a Changes for grammer to keep as much text in AST tree as we can.
For now I do nothing with this/super in (SUPER_)CTOR_CALL.
Should think more about this.

Also I've changed grammer to not generate extends/implement cleases
if there is no such in the code.

Made some refactoring for build.xml to make possible to redirect build
output to custom directory (and we used too much hardcoded paths there
:)

It looks like this is my last commit before vacation, so I hope
I will break nothing :)
2005-08-17 06:55:20 +00:00
Lars Kühne 4f2f342589 backed out Olegs changes for #1257344 as per discussion on dev list 2005-08-16 04:08:28 +00:00
Oleg Sukhodolsky 81a2263fef PropertyCacheFile & StringArrayReader are public now (bug1257344). I think it's worth to support someone who knows Ada :) 2005-08-14 17:53:53 +00:00
Oliver Burn 357adf02b1 Major update to the documentation look and feel. It is based *very*
heavily on the TWiki.org documentation.
2005-08-14 13:23:39 +00:00
Oleg Sukhodolsky 2e2047a853 Fixed 1257599 - RequireThis should know that there are enum and inteface definitions :) 2005-08-14 09:38:04 +00:00
Oliver Burn 63695b43c3 Remove reference to usage checks. 2005-08-11 22:07:14 +00:00
Oleg Sukhodolsky e9704e1342 we do not need to exclude MyAnnotation.java from compilation anymore 2005-08-11 07:48:26 +00:00
Oleg Sukhodolsky 38d50c6344 fix for gump failure (renaming MyAnnotation to MyAnnotation[2-4] :) 2005-08-09 12:59:51 +00:00
Oliver Burn 528dca02c7 update version number 2005-08-09 12:18:12 +00:00
Oliver Burn 89f8ecc0fe Suppression compilation error in Unit Tests. 2005-08-09 11:37:40 +00:00
Michael Studman 30d725458e Fix for 1230751 2005-08-09 01:04:13 +00:00
Michael Studman d6175fd6c9 Fix for 1220036 2005-08-09 00:18:56 +00:00
Oleg Sukhodolsky cbe38280ad Fixed 1249707: AbstractTypeAwareCheck doesn't work with types from typeparm
Some pretty big refactoring for typeaware checks performed.
Also added handling for type params.  Current handling algorithm
has some preconditions and restriction, but it works for most cases
(not sure I've covered all situation when type param will have name
of real exception, but I do not think it is critical for now :)

Also, I've added column number for JavadocTag (mainly to be able use
ClassInfo for it).  So, JavadocTypeCheck also affected.

And I've added new logger for TreeWalker (if we have loggers we should
use them :)
2005-08-05 13:33:31 +00:00
Oliver Burn b95ced53e3 Final updates for a beta release 2005-08-04 12:05:26 +00:00
Oliver Burn 507bfaff53 Handle when getting a new file to process. 2005-08-03 22:05:19 +00:00
Oliver Burn 46b4a93da5 Remove documentation for implemented ideas. 2005-08-03 13:37:07 +00:00
Oliver Burn ec4f7b40c6 Finished unit testing - now need to do documentation. 2005-08-03 13:34:48 +00:00
Oliver Burn dc3fa902da Added unit tests for ImportControlCheck. 2005-08-03 12:35:04 +00:00