Commit Graph

48 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
ychulovskyy 9b45e78bb5 Issue #457 remove JUnitTestCase from Checkstyle 2014-12-07 09:44:18 -08: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
Roman Ivanov e8756de8ec fixes for linkcheck violations 2014-11-14 16:21:29 -08:00
Ryszard Wiśniewski 9df793347f Fixed 2 syntax errors in config_coding.xml . 2014-08-09 21:44:54 +02:00
Max 3a51c61b4a OverrideMethodsDeclarationOrderCheck #32 2014-08-07 20:23:03 +04:00
Max c4e886312a VariableDeclarationUsageDistanceCheck was imported #223 2014-08-06 22:50:45 -07:00
Peter O f3263ca602 Fixes issues 2014-07-15 01:32:36 +04:00
Peter O e6fb6f1e85 Editorial changes for the documentation, except for the NoClone section 2014-07-15 01:32:35 +04:00
Max 6cd89ebeba Update for existing Check: DeclarationOrder #4 2014-06-30 21:37:30 -07: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
Bewied 1619df658d Fixed a few typos.
English configuration files (config_*.xml and JavaDoc):
- NoCloneCheck

German Translation:
- Bad parenthesis in maxLen.anonInner
- is/ist in parameter.assignment and illegal.type
2013-04-10 00:37:42 +02:00
Bewied 1e6dfa86f6 Fix a few typos.
Affected modules: coding/JUnitTestCaseCheck and design/DesignForExtensionCheck.
Corrected the javadoc in the .java files and the user-visible strings in the
config_*.xml files. These strings are visible to the user using the Eclipse
plugin, so should be easily readable without typos in the way.
2013-03-31 21:07:23 +02:00
Oliver Burn cbc054705a Fix double check locking 2012-04-16 21:40:11 +10:00
Oliver Burn c325a42519 Changes for patch #3115439 - added missing documentation. 2011-01-05 20:52:27 +11:00
Oliver Burn 76b3486c0a Added the documentation missing in the patch. 2011-01-01 12:13:43 +11:00
Oliver Burn dee1f30bb9 add the missing documentation 2010-12-31 18:35:21 +11:00
Oliver Burn 5d1f9ca46e Change default value of logLoadErrors to be true. 2010-10-17 21:43:30 +11:00
Oliver Burn 987d2d67d5 Break dependence of deprecated API from Beanutils.
Also fixed Checkstyle errors (oh the shame:-).
2010-10-04 22:33:47 +11:00
Oliver Burn bd757c37dd Apply the patch before making changes. 2010-10-04 17:51:26 +11:00
Oliver Burn ef2c8dd3ec Write the documentation. 2010-10-04 16:28:34 +11: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 ca39f3af5a Enhanced PackageDeclaration to optionally check that the package name matches the contains source file. 2010-09-28 06:23:17 +00:00
Oliver Burn 85b732ecc5 Convert to use simple <code></code> instead of <span class="xxxx"></span>. It is just simpler to handle. 2010-09-24 06:17:04 +00:00
Oliver Burn 5a643daa9c Used maven-linkcheck-plugin to identify broken links. 2010-09-21 11:50:38 +00:00
Oliver Burn fd6ef65d13 fix the validation errors in the documentation and clean out the old site stylesheets. 2010-09-20 10:41:53 +00:00
Oliver Burn ec4c07f67f Getting close to the point of no return. Made the documentation links "Maven friendly" 2010-09-17 06:57:39 +00:00
Oliver Burn 1f8ce94fa4 Added (missing:-) documentation for patch #2953941 2010-02-22 11:18:24 +00:00
Oliver Burn b6161c1a59 part of refactoring to consolidate all the regexp checks. 2008-12-22 22:31:40 +00:00
Oliver Burn 48c246d9c4 New check NoClone for ensuring a class does not override the clone method from the Object class. Thanks to Travis Schneeberger for providing patch #1947417. 2008-04-21 12:52:49 +00:00
Oliver Burn 79404974ef Integrate patch #1895152, for Avoid Null Equals Comparison Check 2008-04-06 11:48:35 +00:00
Lars Kühne f31b6a7962 incorporated patch #1892273 (NoFinalizer check) and added better unit tests, one bugfix, docs and i18n 2008-03-02 22:18:36 +00:00
Oliver Burn 6b852ccfbc fix documentation error. Bug #1863968 2008-01-07 10:24:30 +00:00
Lars Kühne a501b8d95a fix for bug 1560940: MultipleStringLiteralCheck now ignores annotations by default. It is possible to retain the old behaviour by setting the new check property ignoreOccurrenceContext to an empty value. 2007-02-11 13:37:19 +00:00
Oliver Burn 1c94946e2e Removing all reference to mailing lists 2007-01-16 12:16:36 +00:00
Oliver Burn 104e69edd6 Applied patch (1505376) by Clint Stotesbery to support the
suppressLoadErrors property for AbstractTypeAwareCheck (RFE 1491630).
2006-06-17 13:49:08 +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
Oleg Sukhodolsky 9d8134f4e8 Applied patch 1348873 which implements rfe 1345691 2005-11-10 13:38:44 +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
Oliver Burn 253622ab83 Patch 254918 from taab. 2005-10-08 01:18:51 +00:00
Oleg Sukhodolsky b78fa7ddd8 fixed example for FinalLocalVariable 2005-07-20 17:47:49 +00:00
Oliver Burn ed8417e1ad Make the documentation match the code. :-) 2005-07-20 11:08:10 +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
Oleg Sukhodolsky 9f39a76cd5 Fix for 1084512 (Parameters of abstract methods hide fields)
Added ignoreAbstractMethods property to allow configure HiddenField
  check to ignore params of abstract methods.

Now test inputs (almost all) will be compiled as part of
run.test.suite and run.tests targets (this compilation requires
jdk1.5 or higher)
2005-06-12 19:43:06 +00:00
Oleg Sukhodolsky 279c8501d5 documenting format property for IllegalType check (bug 1047449) 2005-01-24 16:44:26 +00:00
Oliver Burn fa096b7c1e Brought across from v3-branch. 2004-12-05 05:43:00 +00:00