Commit Graph

89 Commits

Author SHA1 Message Date
ychulovskyy 0343b58a76 Issue #540 Unable to instantiate RedundantThrows when run checkstyle with "-c sun_checks.xml" parameter 2014-12-25 21:17:53 -08:00
Michal Kordas 4297ca50a9 MutableException check requires class to explicitly extend some other class (for issue #60) 2014-12-20 10:12:45 -08:00
Michal Kordas 86e743f605 Remove StrictDuplicateCodeCheck and whole package #523 2014-12-20 02:49:25 +01:00
Ivan Sopov 7b3a329cf8 removing ignoreDirectoryName option from PackageDeclarationCheck
This option duplicates compilation error and has no sense to be run
on successfully compiled java sources.
2014-11-30 08:53:08 -08:00
Ivan Sopov 07939ec726 Merge branch 'master' of github.com:picomancer/checkstyle into picomancer-master 2013-10-07 09:31:17 +03:00
Andrew Gaul c876d2431e Correct typos
Many fixes to the documentation.
2013-10-06 13:35:54 -07:00
picomancer 788f87df4d chmod all files to 644 2013-10-05 00:22:22 -04:00
Roman Ivanov 93322bd3df fix from Antonio Ospite was applied to remove remnants of DoubleCheckedLocking #sf705 2013-10-03 16:41:56 -07:00
Oliver Burn be7d2571b8 shows all the checks. 2011-01-31 22:32:02 +11:00
Oliver Burn 6f46bd4e83 fixing the line endings 2010-09-30 13:36:23 +10:00
Oliver Burn e2329c7a98 Patch #2815734 from Rolf Wojtech 2009-12-13 09:18:21 +00:00
Oliver Burn 412361304c patch #2815684 2009-07-30 08:27:17 +00:00
Oliver Burn 429c109457 sample GIT pre-commit hook 2008-12-22 21:19:30 +00:00
Oliver Burn feb4348470 Retired the J2EE checks and also the optional bundle. 2008-01-14 05:13:24 +00:00
Lars Kühne 25603b312f changed definition of redirect extension to make checkstyle.style build target work on Java 5. 2007-12-17 21:33:56 +00:00
Oliver Burn 089da3ff0a fix up line endings. 2007-12-11 00:22:17 +00:00
Oliver Burn 2da46d26c1 Patch 1724028 - XSLs not counting errors correctly in filelist 2007-06-04 04:19:11 +00:00
Oleg Sukhodolsky 5063a410cf Applied patch 1498920 (NullPointer in Resolver (usage)) 2006-10-29 08:34:27 +00:00
Oliver Burn cbb36592d4 Added the style sheet checkstyle-frames.xsl, thanks to Paul King. (Bug
1385095).
2006-01-16 10:41:56 +00:00
Oleg Sukhodolsky 96c668724b Added WriteTag check which outputs a JavaDoc tag as information (patch 902110). Thanks to Daniel Grenner (dgrenner) for contribution. 2005-12-26 07:27:59 +00:00
Oleg Sukhodolsky 78e9ce8701 Fix for 1000092 (RightCurlyCheck misbehaves for LIT_CATCH)
Now the check verifies the placement of rcurly after all IFs, ELSEs,
CATCHes and FINALLYs.  Also it could check that rcurly starts the
line.

Also minor fix for typos in all AllTests.main(): we need to call
runner with AllTests.suite(), not with AllTests.class
2005-12-17 19:03:33 +00:00
Oleg Sukhodolsky 4c1700ebe1 Applied patches 1339523(partially) and 1340300 2005-10-28 19:04:01 +00:00
Oliver Burn 4795a2b485 Applied patch 1292684 from Maarten Coene. 2005-10-08 00:43:16 +00:00
Oliver Burn 28193fd5f0 Moving the usage checks to the contrib directory. I have cloned the
directory structure that was used.
2005-06-28 12:59:34 +00:00
Rick Giles 784f0bda44 example of an ant build file and stylesheet for generation of an
HTML error report with links to source code
2004-06-11 09:00:19 +00:00
Rick Giles cdf603dd48 update usage example in comments to checkstyle 3.x 2004-06-09 14:05:48 +00:00
Rick Giles 3e458d07a7 Template configuration, RFE 954442 2004-05-29 09:56:00 +00:00
Rick Giles 114baaccac example of how to configure the XML parser factory for Checkstyle,
and how to support XInclude processing
2004-05-28 15:58:38 +00:00
Rick Giles 2707ab4393 Hidden inherited field and hidden static method check w. BCEL
contributed by Daniel Grenner.
2004-04-23 13:26:34 +00:00
Oleg Sukhodolsky 1da0f94aa7 Added checkstyle-csv.xsl (request 764153) 2004-01-02 02:34:34 +00:00
Oleg Sukhodolsky 42d34c7e16 Fix for 791245 (checkstyle-frames.xsl cannot handle multiple leafs). 2003-12-05 08:17:54 +00:00
Oleg Sukhodolsky 204c472399 Fixed 852397 (checkstyle frames lacks summary link)
Fixed problem in IllegalType check reported by Venkatesh Prasad Ranganath.
Fixed checkstyle.style target in build.xml.
2003-12-05 04:41:21 +00:00
Oleg Sukhodolsky 8d242382f8 Filter.accept() now takes AuditEvent, not an Object. 2003-11-07 04:49:54 +00:00
Oleg Sukhodolsky ee90bc4002 Fixed problem in J2eeConfig.xml 2003-09-02 02:58:35 +00:00
Oleg Sukhodolsky 6cee5e024e Moving DescendantToken check to main distribution. 2003-08-19 06:20:47 +00:00
Rick Giles 4a0b798adb Correct Checkstyle errors. 2003-07-23 22:28:19 +00:00
Rick Giles bd6eaf0dd8 Xpath semantics for checking paths in syntax tree. 2003-07-23 14:22:41 +00:00
Rick Giles 8acc405dd3 Tim Tyler's check for descendant token counts 2003-07-20 13:57:58 +00:00
Rick Giles dd477210ae Custom listeners can be incorported as config modules,
not command line arguments and ant task elements.
2003-07-18 11:31:45 +00:00
Rick Giles 7c22cbca32 updated example 2003-07-16 10:21:47 +00:00
Rick Giles a9bfdceec2 completed Filter docs. 2003-07-15 11:10:15 +00:00
Rick Giles 89600c8253 "Undo" last commit. These are not AutomaticBeans. 2003-07-14 17:30:05 +00:00
Rick Giles 0fe4109620 enable setting as a module in config file 2003-07-14 08:33:24 +00:00
Lars Kühne eabb79303a fixed parameter type issue (strange) 2003-07-06 06:19:01 +00:00
Rick Giles 8929cfc00f updated configuration 2003-07-05 19:19:19 +00:00
Rick Giles cde9b8b618 moved to main distribution 2003-07-05 17:29:35 +00:00
Rick Giles a43e43e0e7 moved to main distribution 2003-07-05 17:23:25 +00:00
Rick Giles d14153b5be added check for native methods to configuration 2003-07-02 12:56:30 +00:00
Rick Giles 983111eb06 added check that static fields are final. 2003-07-02 10:37:00 +00:00
Rick Giles 9089e7a210 corrected rules. added references. 2003-07-01 23:24:28 +00:00