Commit Graph

2803 Commits

Author SHA1 Message Date
Roman Ivanov cc2d12bbd4 workaround for #215 2014-07-31 20:37:23 -07:00
Roman Ivanov 02e6ed4038 TODO was removed 2014-07-30 17:44:09 -07:00
Jarmo Isotalo 85265a9b28 Added the missing period 2014-07-30 17:43:02 -07:00
Joni Salmi dc787c89fd Added method to clear cache 2014-07-30 17:43:02 -07:00
Max 39ad631113 Fixed false positive. #213 2014-07-30 16:09:33 -07:00
Thomas Jensen d0358d8ba3 Added documentation for TypeName changes from PR #208 2014-07-30 16:07:34 -07:00
Ilja Dubinin 5bf91808d0 Issue #130 fixed. Now it can parse 'return (byte[].class);' 2014-07-28 15:50:32 -07:00
Roman Ivanov 5858dd784e fix for xdoc after previous commit 2014-07-28 15:46:36 -07:00
Thomas Jensen f3d433723b Support annotations in TypeNameCheck 2014-07-28 22:55:39 +02:00
Max f39f224203 InterfaceTypeParameterNameCheck was introdused. #202 2014-07-26 21:02:23 +04:00
Roman Ivanov 63faa15d67 travis profile now explicit, argLine is moved to travis profile 2014-07-25 20:07:04 -07:00
Ilja Dubinin 023b564417 Issue 165 fixed. New rule only for catch types has been added. IllegalCatchCheck has been extended to use catch with few exception types. 2014-07-25 02:08:00 +04:00
Max 522a6b31b6 Allowed empty anonymous classes. Was updated allowEmptyTypes property. #197 2014-07-24 16:23:58 +04:00
Baratali Izmailov dfb851e673 Javadoc comments were fixed 2014-07-22 23:44:50 +04:00
Max f80a6c9d89 WhitespaceAround with allowEmptyMethods complains on annotation's empty method #21 2014-07-22 09:04:26 -07:00
Roman Ivanov 244d240507 LineLength become 100 2014-07-20 14:44:54 -07:00
Roman Ivanov ebedf30f3d LineLength become 80
https://groups.google.com/forum/#!topic/checkstyle-devel/mhR8Z4C7jJA
2014-07-20 14:44:08 -07:00
Dominic Jones 2b41a0b5a3 Adding @interface A {} to the SuppressWarningsFilter input data collection. Updating existing line number references to point to existing variables that have now moved down the file.
This now tests a @SuppressWarnings on an annotation definition. Without the ANNOTATION_DEF present in SuppressWarningsHolder, the test will fail.
2014-07-20 17:22:00 +04:00
Dominic Jones 238bacaf90 Adding ANNOTATION_DEF to the valid list of parentASTs for the SuppressWarningsHolder. Without this, any @SuppressWarnings (checkstyle or not) present on an annotation definition class will fail. 2014-07-20 17:22:00 +04:00
Max 154016d609 AvoidEscapedUnicodeCharactersCheck #194. Avoided using Unicode escapes. 2014-07-18 08:36:53 -07:00
Max 32ca737edc LocalVariableNameUpdate #192. Allowed one char variables in
initialization expressions in FOR loop
2014-07-16 17:14:40 -07:00
Max ec19316322 RightCurly was updated #182. Added option to check line break after the closing brace if that brace terminates a statement or the body of a method, constructor or named class. 2014-07-16 17:12:54 -07:00
Max af8d57317f EmptyBlockUpdate #190. Were updated UT and input. Corrected link in EmptyLineSeparatorCheck 2014-07-16 23:06:07 +04:00
Max d9452c8d5e EmptyLineSeparatorCheck #186. Exactly one blank line separates each section that is present. 2014-07-15 20:08:17 -07:00
Max 05211d164a SeparatorWrapCheck #179. Covers separators like ',', '.'. 2014-07-15 19:57:57 -07:00
Peter O 899f12f19f more editorial changes 2014-07-15 01:32:36 +04:00
Peter O f3263ca602 Fixes issues 2014-07-15 01:32:36 +04:00
Peter O bfeeb8b77c More doc modifications 2014-07-15 01:32:36 +04:00
Peter O b83e754d92 Some editorial changes in config_misc.xml 2014-07-15 01:32:35 +04:00
Peter O e6fb6f1e85 Editorial changes for the documentation, except for the NoClone section 2014-07-15 01:32:35 +04:00
Christoph Kutzinski 902fa7302c Use a thread-safe map implementation to keep the compiled patterns.
Note that the comment about Pattern itself not being thread-safe was
wrong, only the Matcher instances created from a Pattern are not
thread-safe, but that's in the responsibility of the caller.
2014-07-13 11:52:25 +02:00
Maroontress Fast Software 8c1b62313f Fix style of existing code.
Fix style for the enhancement to pass “mvn verify.”
2014-07-09 10:17:27 +09:00
Maroontress Fast Software d4c8bd11ed Enhance WhitespaceAroundCheck
Enhance WhitespaceAroundCheck to check DO_WHILE and LITERAL_SWITCH
tokens.
2014-07-09 09:50:55 +09:00
Roman Ivanov ca378826ea Update README.md 2014-07-07 16:18:33 -07:00
Tobias Baum 7dc94ba7ab Fixed AbstractTypeAwareCheck for generics in interfaces (issue #473) 2014-07-06 14:50:08 +02:00
Max 55c2560774 Update for existing Check: WhitespaceAround #170 2014-07-05 09:30:16 -07:00
Roman Ivanov de6862e0be additional fix for UT of TopLevelType 2014-07-05 08:19:23 -07:00
Max 9d93afb1f3 OneTopLevelClass #172 2014-07-05 06:58:45 -07:00
Max f9b6da329f NoLineWrap #173 2014-07-05 06:55:27 -07:00
Ivan Sopov dcd4e9148c fix for #47 2014-07-02 15:46:15 +04:00
Max 6cd89ebeba Update for existing Check: DeclarationOrder #4 2014-06-30 21:37:30 -07:00
Roman Ivanov ec5630294a fix for previous commit, formatting was fixed to pass on CI 2014-06-30 08:04:58 -07:00
Roman Ivanov a25d3f86b3 attempt to make test testLoadFromURL stable 2014-06-30 07:42:39 -07:00
Roman Ivanov 7614f726f9 twitter banner was adde, image created from https://about.twitter.com/resources/buttons#follow 2014-06-28 13:47:54 -07:00
Ivan Sopov fcb47f13dc partial making of test inputs compilable 2014-06-28 15:01:39 +04:00
Roman Ivanov 3994e36e8d fix for build failure 2014-06-14 23:07:59 -07:00
Roman Ivanov 5b9f1c1141 Java doc was extended for Docklets to explain their role in project 2014-06-14 21:44:11 -07:00
Roman Ivanov 2b7ba86225 cleanup 2014-06-14 16:19:04 -07:00
Roman Ivanov d3fcdfa06f fix for build problem, exclusion is provided 2014-06-14 16:04:42 -07:00
Roman Ivanov 52f7145d80 jacoco now should works fine 2014-06-14 15:40:13 -07:00