Commit Graph
98 Commits
Author SHA1 Message Date
Dmitry Avdeev df6da2d822 real GlobalInspectionContext for tests 2012-02-17 10:10:45 +04:00
Dmitry Avdeev 33230a65d2 GlobalInspectionsTest 2012-02-15 20:05:45 +04:00
anna cb907f4128 visibility inspection: do not suggest private for constants used in class modifier lists and for inner classes used in extends/implements (IDEA-81161) 2012-02-10 16:49:45 +01:00
Anna Kozlova 09ac72236b IDEA-80097 "Redundant suppression" inspection ability to ignore "ALL" 2012-01-25 15:26:12 +04:00
Maxim.Mossienko b2909fb378 detect old header too 2012-01-24 19:18:10 +04:00
Maxim.Mossienko b7a6ac3ce8 fix test data 2012-01-24 19:18:09 +04:00
Alexey Kudravtsev 8f4258d45d performance, bit operations 2012-01-24 12:10:39 +04:00
Alexey Kudravtsev f5ebabb673 assertions added, annotations for method parameter 2012-01-20 13:40:07 +04:00
Alexey Kudravtsev 3fac1f091f removed aliases from JDK annotations
javadoc
2012-01-16 18:32:15 +04:00
Alexey Kudravtsev a87146dc5b Magic constant inspection 2012-01-12 16:41:32 +04:00
peter 75c5872a0a IDEA-51920 'Suspicious call to Map.get' inspection should be aware of dataflow type information 2011-12-30 16:18:34 +01:00
peter 52e6e8e2d7 light fixture-based SuspiciousCollectionMethodCallsTest 2011-12-30 16:18:34 +01:00
Maxim Shafirov 56723c4b17 IDEA-78370 2011-12-09 19:59:46 +04:00
anna e39f09af16 @Nullable/@NotNull problems: false positive: annotation is inapplicable for primitive types (IDEA-78186 ) 2011-12-07 20:42:09 +01:00
Roman Shevchenko 40beb984e7 Fix test data 2011-12-07 19:34:01 +01:00
Maxim Shafirov 977679a62d [r=peter] dfa regression. Even finals must be flashed when they leave their declaration scope 2011-12-02 13:50:40 +04:00
Maxim Shafirov 5c92a1f29f damn optimize imports on commit 2011-11-29 17:07:00 +04:00
Maxim Shafirov 220f762068 [r=cdr] IDEA-77819∏ 2011-11-29 17:06:49 +04:00
Maxim Shafirov 57a78b6fab IDEA-74518: Associations for variable negation haven't been cleared on flush. 2011-11-25 21:11:25 +04:00
Maxim Shafirov b9b7d146cc Test, that should fail but it doesn't... 2011-11-24 21:10:38 +04:00
Maxim Shafirov 49d0c2f9de IDEA-73344: Writing unknown value to a nullable variable must reset it's nullability status to unknown, rather than nullable. 2011-11-24 19:36:14 +04:00
anna 666ab43848 can be final: do not suggest final modifiers for fields which are assigned from class initializer but are qualified (IDEA-76777 ) 2011-11-20 20:52:00 +01:00
anna 2dde0244eb ignore abstract non-serializable classes with "serializable methods" in editor; check if there are non-abstract serializable subclasses in batch mode (IDEA-74261 ) 2011-10-10 14:17:44 +02:00
peter 4902980df0 IDEA-68815 ConstantConditions inspection inside timers 2011-09-27 18:44:03 +02:00
anna 4fddb0a5c8 redundant casts: skip casts in conditional branches of calls when resulted call would resolve to another method (IDEA-15720) 2011-09-01 19:07:48 +02:00
anna 008326cc84 forbid cast primitive to type parameter (IDEA-52484; IDEA-23260) 2011-08-25 19:26:02 +02:00
anna a6c2368498 redundant casts: exclude casts from primitive types in synchronized stms (IDEA-58637 ) 2011-08-24 21:13:56 +02:00
anna 44ad96872c test data 2011-08-24 18:04:29 +02:00
anna 01de4037a2 nullable problems: disable warnings on "complex" getters/setters (IDEA-63958) 2011-08-24 15:41:38 +02:00
anna c763ca289f can be final: should not trigger static fields with initializer in a constructor (IDEA-69011) 2011-08-22 17:56:01 +02:00
anna 12e8bcbd5d field can be local: exclude all fields used in fields initializers (IDEA-72649 ) 2011-08-21 17:39:33 +02:00
Alexey Kudravtsev 5b1230ec46 introduced PsiPolyadicExpression 2011-07-13 16:02:43 +04:00
anna 972167979b can be final: do not suggest to make final if overriding constructor reassign the field 2011-07-11 09:40:42 +04:00
anna 630b34c466 redundant cast: do not mark casts to raw types redundant (IDEA-71419) 2011-06-28 21:09:12 +04:00
Bas Leijdekkers 0091ec715a revert 2011-06-28 12:12:18 +02:00
Bas Leijdekkers 83987ee743 fix test 2011-06-28 10:55:31 +02:00
anna d42ef3a864 redundant cast: move test data; ignore casts to invoke @NotNull methods; ignore suspicious collections method calls 2011-06-24 15:22:54 +04:00
anna bc9bfcf727 unused declaration: false positive: process anonymous classes for usages (IDEA-71274 ) 2011-06-22 16:12:35 +04:00
anna a6bb7d03d2 NPE 2011-06-17 20:53:45 +04:00
anna 765d5e4f01 do not highlight enum constants as unused when values are used (IDEA-65298 ) 2011-06-15 14:51:09 +04:00
anna 4f40958aa0 Deprecation warning not highlighted when superclass default constructor is deprecated (IDEA-68898) 2011-06-07 21:34:58 +04:00
anna c17e86b4b5 case change 2011-06-04 11:37:44 +04:00
anna 48e81bb6c1 do not add conditional goto switch end when no default label present but all enum constants were mentioned (IDEA-68872) 2011-06-03 17:59:04 +04:00
anna 9d52527293 ignore unused params in main methods (IDEA-69989) 2011-05-23 15:28:45 +04:00
Bas Leijdekkers 417fb950bb IDEA-69795 (Quickfix "Remove explicit array creation" breaks code) 2011-05-20 17:33:37 +02:00
Bas Leijdekkers c15ff45554 IDEA-69981 ("Redundant array creation" inspection does not warn on enum constant) 2011-05-20 16:46:53 +02:00
Roman Shevchenko 23087cdf9c [ann] Default template inspection fixed to work on multi-catch sections 2011-05-03 21:10:10 +02:00
anna 3507e39732 inline redundant array: remove tailing commas (IDEA-67212) 2011-03-31 13:18:23 +02:00
Alexey Kudravtsev 59e5c4eaa1 test fix 2011-03-05 11:56:07 +03:00
anna 5f06751b53 check if abstract test class has non abstract inheritor -> its test methods are used 2011-02-10 19:25:54 +01:00