Tagir Valeev
|
6da7838df4
|
IDEA-161002 anyMatch/noneMatch disabled for non-final vars; allMatch is supported
|
2016-09-12 14:28:24 +07:00 |
|
Tagir Valeev
|
821b6c83f0
|
IDEA-CR-13651 BoolUtils.getNegatedExpressionText() used and fixed for float/double (to preserve semantics for NaNs)
|
2016-09-12 11:36:31 +07:00 |
|
Tagir Valeev
|
884043aacc
|
IDEA-161002 Migration to Stream API: convert return true/return false to anyMatch/noneMatch
|
2016-09-09 17:41:19 +07:00 |
|
Tagir Valeev
|
610a2a914b
|
IDEA-151523 Method reference is not created unconditionally now (for complex qualifier or non-final field it could be incorrect)
|
2016-09-09 13:58:56 +07:00 |
|
Tagir Valeev
|
6d5901be86
|
IDEA-160946 Labeled continue is excluded; understand if(..) continue else {...}; more tests
|
2016-09-09 11:22:00 +07:00 |
|
Pavel Dolgov
|
9d7e978baf
|
Java inspection: Added lambda expression tests for "Move return to computation" inspection (IDEA-121153)
|
2016-09-08 16:22:07 +03:00 |
|
Pavel Dolgov
|
898ab196d9
|
Java inspection: Check if the returned variable is read in the 'finally' block of an enclosing 'try' statement in "Move return to computation" inspection (IDEA-121153)
|
2016-09-08 16:22:07 +03:00 |
|
Pavel Dolgov
|
6212f4138a
|
Java inspection: Don't look for assignment chains in nested code blocks in "Move return to computation" inspection (IDEA-121153)
|
2016-09-08 16:22:07 +03:00 |
|
Tagir Valeev
|
29097076aa
|
IDEA-160946 Stream API migration: understand if(...) continue at the beginning of the loop
|
2016-09-08 18:19:27 +07:00 |
|
Tagir Valeev
|
c4b6464524
|
IDEA-160802 fixed case with collection summing
|
2016-09-08 16:53:51 +07:00 |
|
Tagir Valeev
|
55c8f0cf46
|
IDEA-151523 Replace with collect when working with an existing collection
|
2016-09-08 15:22:06 +07:00 |
|
Tagir Valeev
|
8015562c2d
|
IDEA-160898 Inspection to convert several commonly-used lambdas to method references
|
2016-09-08 12:25:37 +07:00 |
|
Pavel Dolgov
|
f3d22142cd
|
Java inspection: Don't look for assignment chains in 'switch' and loop statements in "Move return to computation" inspection (IDEA-121153)
|
2016-09-07 18:48:46 +03:00 |
|
Pavel Dolgov
|
bed73576d5
|
Merge remote-tracking branch 'remotes/origin/pdolgov/moveReturnToComputation'
|
2016-09-07 17:21:40 +03:00 |
|
Pavel Dolgov
|
0b10403b20
|
Java inspection: Highlight the whole return statement in "Move return to computation", removed duplicate test cases, changed inspection's level to INFO (IDEA-121153)
|
2016-09-07 17:15:45 +03:00 |
|
Pavel Dolgov
|
7883184f5a
|
Java inspection: Check the return type in "Move return to computation" (IDEA-121153)
|
2016-09-07 16:47:16 +03:00 |
|
Anna Kozlova
|
cc00f54706
|
testdata to convert anonymous to lambda with overloads
|
2016-09-07 16:16:20 +03:00 |
|
Pavel Dolgov
|
897a074fa6
|
Java inspection: Updated messages for "Move return to computation", added tests for 'switch' (IDEA-121153)
|
2016-09-07 15:23:50 +03:00 |
|
Pavel Dolgov
|
26983131ac
|
Java inspection: Supported switch in "Move return to computation", preserve comments (IDEA-121153)
|
2016-09-06 19:05:05 +03:00 |
|
Pavel Dolgov
|
68276bafcf
|
Java inspection: Don't apply chained assignments in "Move return to computation" (IDEA-121153)
|
2016-09-06 19:05:05 +03:00 |
|
Pavel Dolgov
|
1fea799671
|
Java inspection: Fixed handling of break and continue in "Move return to computation" (IDEA-121153)
|
2016-09-06 19:05:05 +03:00 |
|
Pavel Dolgov
|
30724a89e6
|
Java inspection: Fixed test data for "Move return to computation" (IDEA-121153)
|
2016-09-06 19:05:05 +03:00 |
|
Pavel Dolgov
|
34872c5443
|
Java inspection: More tests for "Move return to computation" (IDEA-121153)
|
2016-09-06 19:05:05 +03:00 |
|
Pavel Dolgov
|
04430d7f73
|
Java inspection: Fixed catch finally in "Move return to computation" (IDEA-121153)
|
2016-09-06 19:05:05 +03:00 |
|
Pavel Dolgov
|
21bc6ce944
|
Java control flow: Improved "Move return to computation" inspection, added more tests (IDEA-121153)
|
2016-09-06 19:05:05 +03:00 |
|
Pavel Dolgov
|
a0afa83117
|
Java inspections: Created "Move return to computation" inspection, added a few tests (IDEA-121153)
|
2016-09-06 19:05:05 +03:00 |
|
Anna Kozlova
|
b8d5b9ab09
|
anonym -> functional: allow cast to resolve overload resolution
|
2016-09-06 11:58:45 +03:00 |
|
Tagir Valeev
|
838d8a7146
|
IDEA-160789 Migration to Stream API: replace with mapToInt/Long/Double().sum() when possible
|
2016-09-06 15:50:03 +07:00 |
|
Tagir Valeev
|
b0b62211d6
|
IDEA-160784 Migration to Stream API: replace with Stream.count() when possible (now i+=1 and i=i+1 also supported)
|
2016-09-06 12:37:05 +07:00 |
|
Tagir Valeev
|
7214316544
|
IDEA-160778 Buggy replacement with collect when several variables are declared in the same statement
|
2016-09-06 12:08:23 +07:00 |
|
Tagir Valeev
|
f0276b724d
|
StreamApiMigrationInspection: use toList()/toSet() collector if target variable type is Collection
|
2016-09-06 11:56:13 +07:00 |
|
Tagir Valeev
|
e72f6656f8
|
IDEA-160784 Migration to Stream API: replace with Stream.count() when possible
|
2016-09-05 17:47:41 +07:00 |
|
Tagir Valeev
|
13d9f8d53a
|
IDEA-CR-13504 Lambda to method-reference: PsiVariable is accepted as it's necessary for StreamApiMigrationInspection;
StreamApiMigrationInspection.TerminalBlock simplified (myFrom/myTo did not actually improve performance, but added unnecessary logic)
|
2016-09-05 08:57:55 +07:00 |
|
Tagir Valeev
|
b7a423d001
|
IDEA-160707 Stream API migration: support object arrays
|
2016-09-02 17:55:07 +07:00 |
|
Tagir Valeev
|
6bd88cf67f
|
IDEA-160637 test fixed
|
2016-09-02 14:47:07 +07:00 |
|
Tagir Valeev
|
1a1290751c
|
IDEA-160637 Stream API migration: support map and flatMap steps
|
2016-09-02 14:40:40 +07:00 |
|
Anna Kozlova
|
98687b3c65
|
replace with foreach: disable for arrays of collection type (IDEA-160323)
|
2016-08-26 11:53:30 +03:00 |
|
Anna Kozlova
|
1784622744
|
bind parameter to field: ensure applicable field is chosen/skip already assigned (IDEA-160180)
|
2016-08-25 21:03:40 +03:00 |
|
Tagir Valeev
|
26841947aa
|
InvalidComparatorMethodReferenceInspection: fixes according to IDEA-CR-13278
|
2016-08-25 16:45:13 +03:00 |
|
Tagir Valeev
|
f96b5696c3
|
IDEA-160239 Warn about using Integer::min, Integer::max where Comparator expected
|
2016-08-25 12:34:41 +03:00 |
|
Dmitry Avdeev
|
03d53cc1d5
|
IDEA-160207 Redundant default parameter value assignment doesn’t catch unnecessary array assignments
|
2016-08-25 12:13:37 +03:00 |
|
Anna Kozlova
|
08a18bc8bd
|
surround with if: fix for expression lambda (IDEA-160218)
|
2016-08-24 15:14:38 +03:00 |
|
Anna Kozlova
|
6d77cd0e05
|
unused declaration: merge unused parameters inspection
|
2016-08-22 08:21:16 +03:00 |
|
Anna Kozlova
|
e743d2ad59
|
ensure cast to class type is suggested when argument type is null (IDEA-159884)
|
2016-08-16 17:39:07 +03:00 |
|
Anna Kozlova
|
a5af84762d
|
can be diamond: ensure inner class is referenced as simple name, otherwise qualified text with generics outer class would lead to kinda raw type (IDEA-159179)
|
2016-08-12 09:21:55 +03:00 |
|
Bas Leijdekkers
|
d543f426ad
|
fix silly assignment tests
|
2016-08-02 13:57:18 +02:00 |
|
Pavel Dolgov
|
b525e80a87
|
Java inspection: Returned back RemoveRedundantElseAction intention, because it turns out it's useful in some cases (IDEA-157727)
|
2016-07-20 18:50:32 +03:00 |
|
Alexey Kudravtsev
|
db48c64473
|
use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests
|
2016-07-20 15:47:18 +03:00 |
|
Pavel Dolgov
|
3773948686
|
Java inspection: Added a fix for single-value annotations where the annotation doesn't have a 'value()' method and therefore "Expand Annotation to Normal Form" fix couldn't be applied (IDEA-158456, IDEA-157727)
|
2016-07-20 13:33:13 +03:00 |
|
Anna.Kozlova
|
750afb8497
|
return type fix: change type arguments of dependant type parameters only (IDEA-158361)
|
2016-07-11 18:05:00 +02:00 |
|