Commit Graph

27 Commits

Author SHA1 Message Date
liscju 1e6dc8f4ea Fix RightCurlyCheck with same option not to rise expression in single-line blocks - issue #1416 2015-08-17 07:40:16 +03:00
Michal Kordas 7b01fc489f Remove non-final static field. #1555
Fixes `StaticNonFinalField` inspection violations.

Description:
>Reports non-final static fields.
2015-08-17 07:12:06 +03:00
Michal Kordas 902e761e1a Use diamond operator in test code. #1555
Fixes `Convert2Diamond` inspection violations.

Description:
>This inspection reports all new expressions with type arguments which can be replaced with diamond type <>
Such <> syntax is not supported under Java 1.6 or earlier JVMs.
2015-08-17 06:53:27 +03:00
Aleksandr Ivanov cd12de2a24 Extended messages for CustomImportOrder #1648 2015-08-16 07:15:10 +03:00
Michal Kordas 1ab08ad4ab Make methods static. #1555
Fixes `MethodMayBeStatic` inspection violations.

Description:
>Reports any methods which may safely be made static. A method may be static if it is not synchronized, it does not reference any of its class' non static methods and non static fields and is not overridden in a sub class.
2015-08-16 07:02:36 +03:00
Baratali Izmailov f23a34503b Issue #1243: Useless Class variables 2015-08-14 21:39:12 +03:00
Baratali Izmailov bb5eb6c08e Issue #1243: 'Local variable is not used' fixed 2015-08-13 11:34:20 -04:00
Baratali Izmailov 772d2e9afc Issue #1243: 'Class is raw type' fixed 2015-08-11 15:48:23 +03:00
Andrei Selkin df5eac3757 Added new Check: CommentsIndentationCheck, issue #333 2015-08-08 11:54:21 +03:00
Michal Kordas fd794d428c Remove unnecessary consecutive lines in Checkstyle code. #1534 2015-08-02 18:41:32 -07:00
Andrei Selkin 3a5a73d5c1 Added column number into violation messages for RightCurlyCheck and LeftCurlyCheck, issue #1511. 2015-08-01 13:16:25 -07:00
Andrei Selkin f1dced161a Add new option for RightCurlyCheck, issue #1019. 2015-07-30 12:40:11 -07:00
Aleksandr Ivanov acbd47a66b ImportOrder enabled in configuration #1448 2015-07-23 08:58:42 +03:00
Andrei Selkin 0d66a67b0d Fix FallThroughCheck fails on if with no else, issue #1395. 2015-07-20 10:02:21 -07:00
Vladislav Lisetskiy bb3f804106 fix JavadocParagraph allows new line before the next paragraph, #1332 2015-07-19 07:20:04 -07:00
WonderCsabo 943ace0dd6 Issue #1388: BaseCheckTestSupport.verify fails on Windows 2015-07-16 23:33:44 -07:00
Andrei Selkin 260d2b935c Move tests which cause compilation problem in Eclipse 4.2.2 to non-compilable folder, issue #1351. 2015-07-11 22:08:30 -07:00
Michal Kordas febbc986cb Fix integration test compilation error for Windows environment. #1342 2015-07-11 22:07:24 -07:00
Andrei Selkin 6258cebf06 Fix failing of ITs for OneStatementPerLineCheck, issue #1348. 2015-07-11 06:51:31 -07:00
Vladislav Lisetskiy 6878629157 add IT to validate google_checks config, #1275 2015-07-11 06:33:49 -07:00
Vladislav Lisetskiy 52ac2776d7 rename fields in ConfigurationBuilder and BaseCheckTestSupport 2015-07-11 06:33:49 -07:00
Roman Ivanov b68a3f65d5 Ignore was set on failed test. #1348 2015-07-10 20:45:41 -07:00
Andrei Selkin b405880b6e Fix OneStatementPerLine on multiple field initialization bug, issue #1237. 2015-07-09 17:33:43 -07:00
Vladislav Lisetskiy 86c1e2d4b7 extention for SingleJavadocLine, #1063 2015-06-13 09:33:50 -07:00
Aleksandr Ivanov 1308724558 Changed Integration Tests to use /src/it/. #1200 2015-06-11 18:38:47 +03:00
Roman Ivanov fddbc76551 now no need to use remote config file, local file google_checks.xml is used for ITs. #863 2015-06-07 19:37:25 -07:00
Roman Ivanov 4379865107 Integrate google-style-config-test as Integration Test. #863 2015-06-07 19:37:18 -07:00