Toshiaki Kameyama
9a725b99b2
Call chain into sequence: fix false negative on Iterable
...
#KT-26650 Fixed
2018-10-09 12:22:17 +03:00
Toshiaki Kameyama
539c55c5b2
Call chain into sequence: fix false negative on implicit receiver
...
Part of KT-26650
2018-10-09 11:33:55 +03:00
Toshiaki Kameyama
8fc5fefc7f
Call chain --> Sequence: don't report if first call is 'groupingBy'
...
#KT-27104 Fixed
2018-10-09 11:26:50 +03:00
Toshiaki Kameyama
3c75dd7b5a
Fix inspection message
2018-10-09 11:09:43 +03:00
Toshiaki Kameyama
920c200693
Call chain --> Sequence: introduce "call chain length" parameter
...
#KT-26571 Fixed
2018-10-09 11:09:28 +03:00
kenji tomita
6532916dd2
Change necessary labels in "Call on collection type may be reduced"
...
#KT-24492 Fixed
2018-10-03 08:00:40 +02:00
kenji tomita
6d9fb4f382
Fix #KT-26902 Bad quickfix name for "Call on non-null type may be reduced"
2018-09-19 15:56:26 +03:00
Toshiaki Kameyama
1d2e18e263
SimplifyCallChainFix: Keep comments in place #KT-22552 Fixed
2018-09-07 17:26:15 +03:00
Toshiaki Kameyama
2c71b3873e
Introduce "flatMap { it } -> flatten" inspection #KT-25969 Fixed
2018-08-31 15:03:24 +03:00
Toshiaki Kameyama
6a140fb9ed
"Useless call on collection type" inspection: Apply to 'kotlin.sequences.orEmpty'
2018-08-30 14:50:56 +03:00
Toshiaki Kameyama
7e28cb1fe3
Call chain --> Sequence: take termination into account
...
Related to KT-15476
2018-08-08 11:02:47 +03:00
Toshiaki Kameyama
108dea5b46
Introduce "Call chain on collection should be converted into 'Sequence'"
...
So #KT-15476 Fixed
2018-08-08 10:29:10 +03:00
Toshiaki Kameyama
a059d50c8f
"Call chain may be simplified": fix false positive on Java Map
...
So #KT-25089 Fixed
2018-08-03 13:15:53 +03:00
Toshiaki Kameyama
bde9a57c9e
Don't suggest map{}.filterNotNull() -> mapNotNull{} on primitive array
...
So #KT-21556 Fixed
2018-06-05 15:18:28 +03:00
Mikhail Glukhikh
45c9be2945
Fix problem with mutable map in "simplifiable call chain"
...
So #KT-20315 Fixed
2017-10-10 22:48:35 +03:00
Kirill Rakhman
91c35a6c59
Support listOfNotNull in SimplifiableCallChainInspection #KT-20410 Fixed
2017-10-09 16:38:52 +03:00
Mikhail Glukhikh
d08b18f5f8
Introduce "use expression body" inspection #KT-16063 Fixed
...
Converted from the relevant intention
Reported cases: one-liners, whens
Also, more exact caret detection in local inspection tests
2017-07-07 18:15:06 +03:00
Mikhail Glukhikh
fdca96634e
Add restrictions for "simplifiable call chain" inspection
...
Do not use on maps; do not suggest for lambdas with return inside
Related to KT-18274
2017-06-29 16:25:55 +03:00
Mikhail Glukhikh
36be1fdaef
Introduce "simplifiable call chain on collection" inspection
...
Related to KT-12165
So #KT-18274 Fixed
So #KT-17198 Fixed
2017-06-29 16:25:52 +03:00
Mikhail Glukhikh
bdb9f00c75
Introduce "Useless call on collection type" inspection
...
Related to KT-12165
Supported functions: filterNotNull, filterIsInstance,
mapNotNull, mapNotNullTo, mapIndexedNotNull, mapIndexedNotNullTo
Also, "Useless cal on not-null" improved a bit
2017-06-29 16:25:50 +03:00
Mikhail Glukhikh
0f4ae3b727
Introduce "Useless call on not-null type" inspection #KT-18386 Fixed
...
Supported functions: orEmpty(), isNullOrEmpty(), isNullOrBlank()
2017-06-29 16:25:45 +03:00