Commit Graph

244 Commits

Author SHA1 Message Date
alexkravin 2de61faea3 Changed indentation of switch-case, sizes, issue #512 2015-01-22 16:31:00 +04:00
alexkravin 4a396fece9 Changed indentation of switch-case, metrics, issue #512 2015-01-22 16:30:47 +04:00
alexkravin f0c4e7d6f2 Changed indentation of switch-case, imports, issue #512 2015-01-22 16:30:29 +04:00
alexkravin 5a1cae74d6 Changed indentation of switch-case, design, issue #512 2015-01-22 16:30:09 +04:00
alexkravin b2eeea93c2 Changed indentation of switch-case, coding, issue #512 2015-01-22 16:29:46 +04:00
alexkravin bd4d876fb9 Changed indentation of switch-case, blocks, issue #512 2015-01-22 16:29:25 +04:00
alexkravin 3342753d22 Changed indentation of switch-case, annotation, issue #512 2015-01-22 16:29:02 +04:00
alexkravin 90545ad2ed Changed indentation of switch-case, checks, issue #512 2015-01-22 16:28:32 +04:00
alexkravin 95c1a081e0 Changed indentation of switch-case, checkstyle, issue #512 2015-01-22 16:26:45 +04:00
alexkravin 422ab30197 Annotation Location Check, fixed typo in property name, issue #585 2015-01-21 15:29:28 +04:00
Roman Ivanov 2f9b0f057c additional fixes for naming after MemberName Check is using Google pattern 2015-01-20 17:15:35 -08:00
alexkravin b8ca6a585b Prefixes, checkstyle, #512
Conflicts:
	src/main/java/com/puppycrawl/tools/checkstyle/TreeWalker.java
2015-01-19 18:38:32 +04:00
alexkravin 58219b9bd3 Prefixes, checks, #512
Conflicts:
	src/main/java/com/puppycrawl/tools/checkstyle/checks/NewlineAtEndOfFileCheck.java
2015-01-19 18:37:00 +04:00
alexkravin 1bd7f9bdf3 Prefixes, annotation, #512 2015-01-19 18:35:56 +04:00
alexkravin 0fcae24380 Prefixes, modifier, #512 2015-01-19 18:35:44 +04:00
alexkravin 29027109bf Prefixes, header, #512 2015-01-19 18:35:32 +04:00
alexkravin 16dac636b2 Prefixes, imports, #512 2015-01-19 18:35:11 +04:00
alexkravin d84869bcff Prefixes, indentation, #512 2015-01-19 18:34:59 +04:00
alexkravin 8b43ebdbf7 Prefixes, grammars, #512 2015-01-19 18:34:46 +04:00
alexkravin 319f297e13 Prefixes, doclets, #512
Conflicts:
	src/main/java/com/puppycrawl/tools/checkstyle/doclets/TokenTypesDoclet.java
2015-01-19 18:34:23 +04:00
alexkravin cea86a6cad Prefixes, blocks, #512
Conflicts:
	src/main/java/com/puppycrawl/tools/checkstyle/checks/blocks/AvoidNestedBlocksCheck.java
	src/main/java/com/puppycrawl/tools/checkstyle/checks/blocks/EmptyBlockCheck.java
	src/main/java/com/puppycrawl/tools/checkstyle/checks/blocks/LeftCurlyCheck.java
	src/main/java/com/puppycrawl/tools/checkstyle/checks/blocks/NeedBracesCheck.java
2015-01-19 18:32:29 +04:00
alexkravin eddd0de370 Prefixes, gui, #512 2015-01-19 18:27:42 +04:00
alexkravin 1d6bf23ccd Prefixes, metrics, #512 2015-01-19 18:27:26 +04:00
alexkravin 3fec4a92e3 Prefixes, sizes, #512 2015-01-19 18:21:50 +04:00
alexkravin 750b733bd1 Prefixes, naming, #512 2015-01-19 18:21:39 +04:00
alexkravin 075b3084de Prefixes, regexp, #512 2015-01-19 18:21:27 +04:00
alexkravin 50c9bb69bc Prefixes, design, #512 2015-01-19 18:21:15 +04:00
alexkravin 89a51ba032 Prefixes, javadoc, #512 2015-01-19 18:21:02 +04:00
alexkravin d97a2df674 Prefixes, whitespace, #512 2015-01-19 18:20:48 +04:00
alexkravin 5cfe30d7ad Prefixes, filters, #512 2015-01-19 18:20:32 +04:00
alexkravin bb1b29851f Prefixes, coding, #512 2015-01-19 18:20:14 +04:00
alexkravin b94bac0719 Prefixes, api, #512 2015-01-19 18:19:41 +04:00
ychulovskyy abe8ae60ee Issue #537 refactored tests from blocks package. 2015-01-16 10:07:49 -08:00
Michal Kordas 501b7c5240 Repair Sonarqube problems found in Checkstyle for issue #46
Fixes for 'Modifiers should be declared in the correct order', 'Redundant casts should not be used' and 'Array designators "[]" should be on the type, not the variable'
2015-01-13 11:20:43 -08:00
Lars Ködderitzsch 8ec1a1a971 https://github.com/checkstyle/checkstyle/issues/570 2015-01-11 19:10:47 +01:00
alexkravin dcb3029c00 Switched Checkstyle and all resources to UTF-8 encoding, issue #489 2015-01-09 08:44:41 -08:00
alexkravin a8b8375b1d Logging of exceptions to console, issue #546 2015-01-09 08:42:41 -08:00
alexkravin b06e2e0015 Illegal Type Check, fixed false positives on same file names, added support of analyzing imports, issue #78 2015-01-06 15:01:04 -08:00
maxvetrenko 6a9e1b3f93 Added option to avoid C style. #354 2015-01-05 14:08:21 -08:00
alexkravin 98684b95a5 Suppress Warnings Holder - fixed throwing exception if annotation uses constant value, issue #539 2014-12-30 09:11:57 -08:00
alexkravin e6638c3344 No Whitespace After Check, fixed NPE, fixed false-positives at multidimensional arrays, issue #542 2014-12-30 09:08:39 -08:00
alexkravin 943e07af07 Added option to Illegal Throws Check due to twitter custom checks, issue #430 2014-12-29 14:43:54 -08:00
ychulovskyy d91236c5ca Issue #3 Turn on -r recursive by default 2014-12-29 14:41:53 -08:00
alexkravin c29a5466d1 Added option to Javadoc Method Name Check - ignore method name regex, issue #430 2014-12-29 07:49:13 -08:00
alexkravin 55435babb6 Extended Method Name Check to ignore overriden methods, issue #430 2014-12-29 07:47:37 -08:00
ychulovskyy 09a7ca6041 Issue #537 refactoring: remove copy-paste of messages from UTests 2014-12-28 15:14:03 -08:00
Roman Ivanov 410b7fca40 linkcheck: fixes for dead links 2014-12-27 14:25:30 -08:00
Roman Ivanov 1d41878f29 Revert "No Whitespace After Check - added support of array declarations, issue #68"
This reverts commit 095fa6743c.
2014-12-26 20:23:03 -08:00
Roman Ivanov e6b25218eb additional fixes for #66, minor renaming and UTs extension 2014-12-24 11:49:16 -08:00
ychulovskyy c731689244 Issue #66 ParameterNumber check option to ignore methods with an @Override 2014-12-24 11:36:29 -08:00
ychulovskyy ecd7ee879a Issue #257 RequireThis triggers when try-with-resources defines resource with same name as method 2014-12-24 11:34:24 -08:00
ychulovskyy f0c6c6ad7c Issue #131 AnnotationUseStyle closingParens check failed 2014-12-22 16:34:40 -08:00
alexkravin 49ae6cf81b Final Parameters Check, added option allows ignoring primitive types as params, issue #446 2014-12-22 08:09:13 -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
maxvetrenko 17ebdc5c37 Fixed cases with difficult annotations. #321 2014-12-19 22:22:35 -08:00
Michal Kordas 86e743f605 Remove StrictDuplicateCodeCheck and whole package #523 2014-12-20 02:49:25 +01:00
alexkravin 85c205ca68 Abstract Aware Type Check marked as deprecated, removed Redundant Throws Check, issue #473 2014-12-19 09:41:46 -08:00
alexkravin f6b38038d1 Summary Javadoc Check, added 'specify period' option, issue #472 2014-12-20 16:53:48 +04:00
alexkravin 095fa6743c No Whitespace After Check - added support of array declarations, issue #68 2014-12-18 11:51:48 -08:00
alexkravin 169729f60b Suppress Warnings Check, annotation param in constant, issue #268 2014-12-18 11:44:29 -08:00
alexkravin 37e0bc051f Generic Whitespace Check, fixed bug - '>' is followed by an illegal character, issue #350 2014-12-18 11:41:48 -08:00
alexkravin 688dc9c547 Need Braces, added option which allows one line if-statements without braces, issue #300 2014-12-18 11:40:18 -08:00
alexkravin 7e36b3cbd1 Translation Check - update changes due to new option, issue #149 2014-12-18 11:37:40 -08:00
pulse00 284b505ace added basenameSeparator configuration option for TranslationCheck 2014-12-18 11:37:40 -08:00
alexkravin cf5686783f Fixed false-positive in GenericWhitespaceCheck issue #51 2014-12-17 07:43:35 -08:00
alexkravin deb4d7a388 Final Local Variable Check, fixed false-positive - native method's param should be declared final, issue #158 2014-12-15 22:09:33 -08:00
Michal Kordas 46d57c9ca5 Partial fix for #46 - Sonarqube found problems in Checkstyle
Sonarqube issues 'Constants should be declared "final static" rather than merely "final"' and 'Constant names should comply with a naming convention' are fixed
2014-12-15 21:54:58 -08:00
Michal Kordas 7aa061665c Partial fix for #47 - Add missing @Override annotations 2014-12-14 22:33:24 -08:00
Michal Kordas 0e04e5088c Fix for typos in Javadoc 2014-12-14 22:31:13 -08:00
alexkravin 4ee80e7898 Redundant Modifier Check, fixed false-positive Redundant modifier final error for @SafeVarargs method issue #301 2014-12-14 15:27:52 +04:00
Evan Cahill f798a441fc Fix InnerAssignment check for lambda expressions.
Assignments statements in single statement lambda expressions are not
inner assignments.

Fixes #377.
2014-12-11 12:55:07 -08:00
alexkravin 0aab6d6243 Redundant Modifier Check fixed bug with warning on final variables in default methods issue #364 2014-12-08 21:48:51 -08:00
ychulovskyy 9b45e78bb5 Issue #457 remove JUnitTestCase from Checkstyle 2014-12-07 09:44:18 -08:00
ychulovskyy aa829d408f Issue #353 NullPointerException with SuppressWarningsHolder and enum fields 2014-12-06 21:41:42 +01:00
ychulovskyy 4c384214a9 InnerTypeLast within methods #6 2014-12-02 07:08:07 -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
Baratali Izmailov be6a7ca77b Create ParseErrorMessage if error message is null. Added comments for a few methods. 2014-11-24 16:22:33 -08:00
Ilja Dubinin 9b17ce22d2 #358 (or #92) fixed. Attention, some checks might be linked with deleted node. 2014-11-24 01:18:18 +03:00
ychulovskyy bbd59b7b88 #9 -v CLI flag for querying the installed Checkstyle version
Fixed formatting issue.
2014-11-22 08:50:15 +01:00
ychulovskyy f85edb7127 #9 -v CLI flag for querying the installed Checkstyle version 2014-11-21 20:52:15 +01:00
Baratali Izmailov 5c481899d4 Issue #371. Fixed NumberFormatException while logging in AbstractJavadocCheck 2014-11-20 07:39:41 -08:00
maxvetrenko d70ad3db63 Fixed javadoc in NonEmptyAtclauseDescription #365 2014-11-18 17:29:43 -08:00
maxvetrenko 97b99c6528 Fixed javadoc in SummaryJavadocCheck #365 2014-11-18 17:28:58 -08:00
maxvetrenko 4ddb7df073 Fixed javadoc in ParagraphJavadocCheck #365 2014-11-18 17:27:58 -08:00
maxvetrenko 82c3f19cdc Indentation check fails for switch statements #341 2014-11-17 14:28:58 -08:00
maxvetrenko bae7fdded6 Fixed javadoc in JavadocTagContinuationIndentationCheck #365 2014-11-17 07:06:40 -08:00
maxvetrenko f2e7c40f5d Fixed javadoc in AtclauseOrderCheck #365 2014-11-16 17:55:27 +03:00
Roman Ivanov 485e05db23 fix for checkstyle violation 2014-11-13 09:14:25 -08:00
Roman Ivanov 791be6ce00 extenting of javadoc in PropertyChaceFile 2014-11-12 21:44:33 -08:00
Roman Ivanov 93f02998d4 AnnotationLocationCheck was moved from javadoc to annotation package, changes in xdoc for default value, #356 2014-11-11 16:48:21 -08:00
Baratali Izmailov 7b6785343e Fixed ArrayIndexOutOfBoundsException and StringIndexOutOfBoundsException while logging 2014-11-11 07:05:26 -08:00
Roman Ivanov f9e79c3905 Various documentation/spelling issues with AnnotationLocationCheck, #356 2014-11-10 20:44:01 -08:00
Baratali Izmailov 2e1382c5bb Issue #49. Caching DetailNode trees in AbstractJavadocCheck 2014-11-08 01:24:35 +03:00
Vladimir Sitnikov ae9d1d6217 removing unnecessary char[] copying to reduce GC-pressure 2014-11-06 21:25:29 -08:00
Vladimir Sitnikov f2b19f1080 fix for MultiMap empty collections garbage 2014-11-04 17:30:14 -08:00
Vladimir Sitnikov bc36fe40fc using BitSet for indent levels for performance 2014-11-02 22:22:45 -08:00
Vladimir Sitnikov 1ca93bdf66 preformance fix for RegexpCheck 2014-11-02 21:36:36 -08:00
sopov.ivan cba6fc8b0a FileContents.getLines performance fix 2014-11-02 11:48:16 -08:00
maxvetrenko 54ed230519 Fix false positives in JavadocParagraphCheck #335 2014-10-23 08:01:25 -07:00
Roman Ivanov 8aa747f8ac additional fixed for javadoc/xdoc of SingleLineJavadocCheck 2014-10-23 07:57:29 -07:00