Commit Graph
468 Commits
Author SHA1 Message Date
Anna Kozlova 72d5787df6 EA-56189 - ISE: LocalCanBeFinal.checkCodeBlock 2014-05-07 16:28:14 +04:00
Anna Kozlova 1ab69ce2b2 stream migration: missed qualifiers restored (IDEA-124820) 2014-05-07 11:57:36 +04:00
peter 5348fc61c9 IDEA-124644 Comparison of negative zero with positive zero incorrectly marked as always false 2014-05-05 18:11:00 +02:00
Anna Kozlova 78e9bb7840 type parameters should not cause deprecated constructor warning to appear (IDEA-124689) 2014-05-05 17:12:16 +04:00
Anna Kozlova 91f63083c7 redundant suppressions: take into account alternative ids (IDEA-124690) 2014-05-05 17:12:15 +04:00
Anna Kozlova a2a076c02a lambda -> method ref: reject anonymous class replacement (IDEA-124748) 2014-05-05 17:12:13 +04:00
Anna Kozlova e4a77b6a34 check suspicious ConcurrentHashMap.contains (IDEA-124698) 2014-05-05 17:12:11 +04:00
Bas Leijdekkers 4290300910 IDEA-124654 (replace with chained append() calls gives wrong result when the object is unknown) 2014-05-02 12:23:45 +02:00
Bas Leijdekkers 28c75d2db1 remove check covered by "Variable is assigned to itself" inspection (IDEA-124559) 2014-05-02 00:01:08 +02:00
Anna Kozlova c2957e7fe8 anonymous -> lambda: conflicting ref in var declaration (IDEA-124525) 2014-04-28 15:12:46 +02:00
Anna Kozlova f3e1d968b8 IDEA-124385 2014-04-25 18:38:38 +02:00
Anna Kozlova 0c1ec73530 IDEA-124163 2014-04-25 14:21:55 +02:00
peter 4f2dad128e EA-54648 - assert: PsiWalkingState.elementStarted 2014-04-24 18:56:57 +02:00
peter 066ab8ad1b EA-55374 - NPE: DataFlowInspectionBase$.applyFix 2014-04-24 18:56:57 +02:00
Anna Kozlova a344d0e6dd do not dbl substitution (type annotations could be lost after that) 2014-04-24 17:58:59 +02:00
peter 78dafa03c5 dfa: just don't assume initialized final fields are notnull, it doesn't help, but hurts and slows things down (IDEA-124323) 2014-04-24 17:56:38 +02:00
Anna Kozlova b8fb550a2e IDEA-124271 2014-04-23 20:10:19 +02:00
Anna Kozlova 209d176ea6 disable stream api conversion on iterable (IDEA-124222) 2014-04-23 20:10:18 +02:00
Anna Kozlova c160fc5adf copy to temp/array for non-effectively final variables used in lambda expressions 2014-04-23 16:33:47 +02:00
Anna Kozlova 54ced00cb4 highlight all pairs of methods with same erasures (IDEA-124116) 2014-04-23 16:33:43 +02:00
Anna Kozlova 2b8e2e885a add unchecked warning calls also for method references 2014-04-22 20:02:55 +02:00
Anna Kozlova 4a34bd569b do not report unrelated return type error only for generics methods 2014-04-22 20:02:36 +02:00
Anna Kozlova 9914757d15 warn about underscore identifier 2014-04-22 20:02:28 +02:00
peter 0bd06e5e39 More on comparison that is always false due to being out of type range on implicit type conversion (IDEA-124210) 2014-04-22 14:34:31 +02:00
Dmitry Avdeev cbb86d488d IDEA-124021 Cannot resolve method 'print(int)' with JSP custom tags: comment 2014-04-22 12:50:48 +04:00
peter 3af306c66e IDEA-55556 Inspection suggestion: Comparison that is always false due to being out of type range on implicit type conversion 2014-04-18 22:37:32 +02:00
peter 29fec2258a IDEA-123948 Constant condition and exceptions: false positive on MappedByteBuffer.getInt 2014-04-18 22:37:31 +02:00
peter 0fd86dea1f IDEA-122946 final modifier not inserted when completing a sequence of parameters from an inner method
IDEA-123493 Smart completion makes completed variable final
2014-04-18 22:37:31 +02:00
peter 019a68bcc8 IDEA-123289 Infer nullability of 'for each' variable from type annotations of the collection parameter 2014-04-18 22:37:31 +02:00
Dmitry Avdeev 45f98c517d IDEA-124021 Cannot resolve method 'print(int)' with JSP custom tags 2014-04-18 15:53:56 +04:00
peter f774ed3e60 dfa: reuse free eq class indices 2014-04-16 20:32:38 +02:00
peter 8718f8b5dc replace DfaMemoryStateImpl.areEquivalent with a more efficient version requiring less eq class traversals (IDEA-123826) 2014-04-16 20:32:37 +02:00
Anna Kozlova 0b26e18a7d EA-55830 - PIEAE: PsiUtilCore.ensureValid 2014-04-16 19:19:21 +02:00
Anna Kozlova e512a2f07a EA-55951 - CCE: StreamApiMigrationInspection$ReplaceWithForeachCallFix.applyFix 2014-04-16 19:19:20 +02:00
Anna Kozlova 51f15b7ea4 ignore methods return Void (IDEA-124010) 2014-04-16 16:42:06 +02:00
Anna Kozlova 0f8aed0b67 new inference: eliminate wildcards elimination 2014-04-15 18:43:08 +02:00
Anna Kozlova 8195023646 switch selector error message (IDEA-123937) 2014-04-14 19:35:18 +02:00
peter b5df84e66b IDEA-123850 incorrect "Condition is always false" warning in GemRequirementsChangeWatcher.updateAndAttach() 2014-04-12 16:38:17 +02:00
Anna Kozlova 0d66941866 IDEA-123839: abstract&default combination 2014-04-11 17:06:07 +02:00
Anna Kozlova 36466df690 redundant type args: check also method reference qualifiers 2014-04-11 17:06:03 +02:00
Anna Kozlova a3348c56cb lambda-> method ref: do not insert type args to reference type if they were inferred for lambda expression 2014-04-11 17:06:01 +02:00
Anna Kozlova c928235c70 register JList as generified compared to java 1.6 2014-04-09 20:40:58 +02:00
peter 7ddbfd5eed dfa: don't suggest to replace reference qualifiers with null 2014-04-09 12:56:20 +02:00
Anna Kozlova 6fd18d16b3 unused parameter: do not highlight if method is used locally by method reference (IDEA-123265) 2014-04-08 18:28:27 +02:00
Anna Kozlova 2fa8491e90 IDEA-112552 "Replace with lambda" should use expression lambda when possible 2014-04-08 18:28:25 +02:00
Anna Kozlova c8bbd66850 anonym -> lambda, method ref: do not suggest replacement when default method is called out of functional interface context 2014-04-08 16:45:38 +02:00
Anna Kozlova dd5324046c EA-55041 - IAE: TypeConversionUtil.isAssignable 2014-04-04 14:49:50 +02:00
Anna Kozlova 12ad891bf4 fix generated api 2014-04-03 17:15:55 +02:00
peter 3a0093d463 fix AIOOBE in dfa contract processing 2014-04-03 13:10:54 +02:00
Anna Kozlova edf024ca23 ensure assert inserted in correct place (IDEA-123296) 2014-04-02 20:54:10 +02:00