Commit Graph

2117 Commits

Author SHA1 Message Date
Max 9324fdcf34 VariableDeclarationUsageDistanceCheck was update. Create new extended message in case ignoreFinal=true #239 2014-08-11 15:57:42 -07:00
Max fb1407c204 Fix NPE in AbbreviationAsWordInNameCheck #241 2014-08-11 17:54:20 +04:00
Max 2a3be6769c CustomImportOrder was introduced #231 2014-08-10 15:52:59 +04:00
Roman Ivanov ce01a253b0 fix for typo 2014-08-09 13:46:51 -07:00
Ryszard Wiśniewski 9df793347f Fixed 2 syntax errors in config_coding.xml . 2014-08-09 21:44:54 +02:00
Thomas Jensen dba14abb63 changed file encoding to latin1 2014-08-08 13:55:58 -07:00
Thomas Jensen b2919b6522 Updated German messages 2014-08-08 13:55:58 -07:00
Thomas Jensen 342febabc4 Removed unused message 2014-08-08 13:55:58 -07:00
Max 0518b753a4 Update for EmptyLineSeparatorCheck #227 2014-08-08 13:44:58 -07:00
Max 39f40e5785 Fixed AvoidUnicodeChars #216. Fix NPE in case when allowByTailComment=true, fix false positive in case when allowEscapesForControlCharacters=true 2014-08-07 14:31:24 -07: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
Max a5031acb33 EmptyLineSeparatorCheck was updated #218 2014-08-06 22:49:05 -07:00
Roman Ivanov 592d5d86b9 fix for Travis build failure and extra note for how to generate web site 2014-08-05 14:26:22 -07:00
Roman Ivanov c514b6c5d8 converting contributing.xml to new GIT workflow 2014-08-05 13:58:28 -07:00
Roman Ivanov 001d9cc213 issue #129: make a handler for INDEX_OP so child method call gets a proper suggested indent level 2014-08-04 16:06:35 -07:00
Roman Ivanov 7c5f94aafd AbbreviationAsAWordInName moved to naming package , documentation was rewritten, mTarget was removed from Check (fix after non problematic rebase) 2014-08-02 12:42:12 -07:00
Roman Ivanov 9c9ba5466d AbbreviationAsAWordInName moved to naming package , documentation was rewritten, mTarget was removed from Check 2014-08-02 10:54:49 -07:00
Max 0ceec15029 AbbreviationAsWordInName. #212 2014-08-02 10:54:49 -07:00
Vaclav Chalupa c3f856aba5 Enable array initialisation indentation settings
- created new 'arrayInitIndent' property to set
   different indentation than basic offset
2014-08-01 08:13:59 +02: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
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
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
Tobias Baum 7dc94ba7ab Fixed AbstractTypeAwareCheck for generics in interfaces (issue #473) 2014-07-06 14:50:08 +02:00