Commit Graph

3270 Commits

Author SHA1 Message Date
Baratali Izmailov 82f4a9852d Fixes #612. Added support of Windows line separator. Fixed UTs 2015-02-17 14:28:00 -08:00
Michal Kordas ff5cbc39c4 Replace verbose type arguments with diamond type <>
This syntax is not supported under Java 6 or earlier, but Checkstyle codebase uses Java 7 already.
2015-02-15 08:22:16 -08:00
Michal Kordas ca634f7caf Replace `StringBuffer` with `StringBuilder` to improve performance
Thread-safety given by `StringBuffer` doesn't give any benefit when used within one method, so in such cases `StringBuilder` is safe and more efficient replacement.
2015-02-15 09:57:43 +01:00
Michal Kordas a03a2c5c51 Require at least Maven 3.0.1 to build Checkstyle - fixes #620 2015-02-13 15:29:12 -08:00
alexkravin 456d918a77 Linkcheck plugin, excluded broken links until corresponding plugins will be fixed, issue #549 2015-02-13 15:13:54 -08:00
alexkravin d4d2b130d2 Suppression Comment Filter, extended docs for messageFormat option, issue #123 2015-02-13 23:27:44 +04:00
Baratali Izmailov 438456a8f1 fix #409. Javadoc comments for JAVADOC_TAG and JAVADOC_INLINE_TAG related nodes 2015-02-12 14:23:37 -08:00
Roman Ivanov 0e2615600f cobertura version is specified as 2.6 as in other place' 2015-02-11 13:58:56 -08:00
Roman Ivanov 3d7bfee555 ================================ Organization Profile ======================= 2015-02-10 16:25:59 -08:00
Aaron Sheldon 83e23be070 Fix NPE when setting classpath.
Issue introduced with b8ca6a585b
2015-02-10 21:57:54 +00:00
alexkravin 3bcfcac9ee Abstract Class Name Check, updated default regex, issue #595 2015-02-10 07:06:49 -08:00
alexkravin 7c262e61e6 Empty Line Separator Check, fixed Exception if file doesn't have header, issue #621 2015-02-10 07:03:15 -08:00
alexkravin 351d79582d Fixed typo in 'ignoreOverriden' property of IllegalThrowsCheck, issue #623 2015-02-09 22:20:52 +04:00
Michal Kordas dfc803a1cc Use Collections.addAll() instead of adding elements individually
As per javadoc, `Collections.addAll()` may be significantly faster than adding elements individually using a for loop.
2015-02-08 15:48:11 -08:00
Michal Kordas e9f49b799b Fix for typos in documentation 2015-02-08 15:18:44 -08:00
Glenn Hollingsworth c9e799a266 Fix table display 2015-02-08 15:10:57 -08:00
Roman Ivanov 745525e03b "cobertura.skip" was removed as it fail a build 2015-02-08 14:57:25 -08:00
Roman Ivanov 39a94873d0 "site" was removed as verify already do all 2015-02-08 14:30:18 -08:00
Roman Ivanov 9bf24fa3d7 more ignore options were added for build 2015-02-08 14:26:51 -08:00
Roman Ivanov a4c5c652f6 extra method getAcceptableTokens was removed 2015-02-08 14:06:51 -08:00
alexkravin abe2b20031 Acceptable tokens are specified for all checks, issue #342 2015-02-08 13:46:27 -08:00
alexkravin 39ce82b920 TreeWalker update, added logging warning if AcceptableTokens are broken, issue #342 2015-02-08 13:46:27 -08:00
Roman Ivanov 39e9c990f3 fix for reference to configuration line 2015-02-08 13:12:04 -08:00
alexkravin 516b0df8c4 New Check: Empty Catch Block Check, issue #571 2015-02-08 23:43:41 +04:00
alexkravin 88696d3922 Linkcheck report, fixed errors, issue #549 2015-02-06 01:12:44 +04:00
Roman Ivanov 02b5b71487 jxr was moved before tag plugin to avoid error in log, version was added to skip WARN in logs, linkcheck was put at the end to verify links after all is done 2015-02-04 19:56:25 -05:00
Roman Ivanov 8e60c7ac80 removed unnecessary reports from build section 2015-02-03 14:35:54 -08:00
Roman Ivanov 751fb58811 all additional configuration files were moved to config folder 2015-02-03 13:55:05 -08:00
Roman Ivanov 524dd2e149 xdoc files was clened up from contrib reference 2015-02-03 07:43:08 -08:00
Roman Ivanov e76b4a071d build.xml was clened up from contrib reference 2015-02-03 07:14:24 -08:00
Roman Ivanov 337382e08f contrib folder was moved to contribution repo 2015-02-03 07:13:29 -08:00
Roman Ivanov 72d9bb6f43 [maven-release-plugin] prepare for next development iteration 2015-02-01 21:46:08 -08:00
Roman Ivanov 6e9de2adda [maven-release-plugin] prepare release checkstyle-6.3 2015-02-01 21:26:03 -08:00
Roman Ivanov 247b4fb905 our linkcheck should not test problems of other plugins except for javadoc 2015-02-01 20:57:58 -08:00
Roman Ivanov 79e0db505b Revert "issue 530, was removed from release notes, as it was reverted"
This reverts commit 5fe5bcee40.
2015-02-01 11:02:13 -08:00
alexkravin 2db0dab62f Empty Line Separator Check, added option for managing empty lines between class members, issue #530 2015-02-01 14:00:35 +04:00
Roman Ivanov 5fe5bcee40 issue 530, was removed from release notes, as it was reverted 2015-01-31 19:59:12 -08:00
Roman Ivanov 209b22885a Revert "Empty Line Separator Check, added option for managing empty lines between class members, issue #530"
This reverts commit 3f853ae96a.
2015-01-31 19:48:38 -08:00
Roman Ivanov c22f9f0d79 package javax was changed to javax.swing, as there is not package javax 2015-01-31 19:13:32 -08:00
Roman Ivanov 6257ad29ea distro profile was removed to simplify builds options 2015-01-30 22:46:34 -08:00
Roman Ivanov 6b0664504f additonal changes for release notes 2015-01-30 22:44:59 -08:00
Roman Ivanov 41f40709bf release 6.3 notes 2015-01-30 15:20:10 -08:00
alexkravin 677acc1e84 Illegal Type Check, updated default illegal types, added memberModifiers option, issue #567 2015-01-31 00:45:42 +04:00
alexkravin ba4d62dc78 Custom Import Order Check, third-party package meaning is adjusted, issue #515 2015-01-30 17:41:47 +04:00
alexkravin 2ad4b0830d Custom Import Order Check, rewrote compare method, issue #234 2015-01-28 22:17:16 -08:00
alexkravin 3f853ae96a Empty Line Separator Check, added option for managing empty lines between class members, issue #530 2015-01-28 22:14:49 -08:00
Roman Ivanov f46ec1b073 example for goos issue was added 2015-01-27 22:03:51 -08:00
alexkravin c6019cd352 Final Local Variable Check, fixed false-positive, issue #258 2015-01-26 18:43:49 -08:00
Dmitri Priimak 6784e5bcd5 HiddenField module can now accept setterCanReturnItsClass attribute. #598 2015-01-26 17:04:27 -08:00
alexkravin 204c073294 Added file extensions property to Checker & TreeWalker, issue #25 2015-01-25 13:30:21 +04:00