Mikhail Glukhikh
|
3508bea391
|
KT-9839 related, primary constructor to secondary: comment restoration
(cherry picked from commit 48a1853)
|
2016-09-30 16:39:46 +03:00 |
|
Mikhail Glukhikh
|
d1958be2a8
|
KT-9839 related, secondary constructor to primary: comment restoration
(cherry picked from commit 998e39e)
|
2016-09-30 16:39:36 +03:00 |
|
Mikhail Glukhikh
|
725df49c8c
|
KT-9839: intention introduced: convert secondary constructor to primary one #KT-9839 Fixed
(cherry picked from commit f3fa779)
|
2016-09-30 16:39:24 +03:00 |
|
Mikhail Glukhikh
|
28b70faa99
|
KT-9839: convert primary constructor to secondary one: leave independent properties in class body as is
(cherry picked from commit b90414a)
|
2016-09-30 16:39:13 +03:00 |
|
Mikhail Glukhikh
|
7f50e6e70e
|
KT-9839: intention introduced: convert primary constructor to secondary one
(cherry picked from commit 93aaa48)
|
2016-09-30 16:39:01 +03:00 |
|
shiraji
|
3aedf0d79f
|
Add intention to replace Math.max/min with coerceAtLeast/coerceAtMost #KT-13945 Fixed
|
2016-09-27 20:05:11 +03:00 |
|
Mikhail Glukhikh
|
4522d2c7da
|
Remove unnecessary lateinit intention / inspection removed (supported in compiler CFA instead)
(cherry picked from commit e17f222)
|
2016-09-27 18:49:51 +03:00 |
|
Valentin Kipyatkov
|
b0ed6adce3
|
Fixed wrong test
|
2016-09-27 18:05:26 +03:00 |
|
Valentin Kipyatkov
|
21c2268f70
|
Protection against "<caret>" missing in test data
Many incorrect tests fixed
|
2016-09-27 18:05:26 +03:00 |
|
shiraji
|
391a0fdde5
|
Add "Copy concatenation text to clipboard" intention #KT-13744 Fixed
|
2016-09-23 12:46:22 +03:00 |
|
Alexey Sedunov
|
79f50975b1
|
Convert Parameter to Receiver: Do not qualify companion members with labeled 'this'
#KT-13933 Fixed
|
2016-09-20 20:36:00 +03:00 |
|
Alexey Sedunov
|
75481c34b4
|
Move to Companion Object: Warn if companion object already contains function with the same signature
#KT-13877 Fixed
|
2016-09-20 20:35:59 +03:00 |
|
Alexey Sedunov
|
72ff5dd2cc
|
Move to Companion Object: Forbid for functions/properties referencing type parameters of the containing class
#KT-13876 Fixed
|
2016-09-20 20:35:58 +03:00 |
|
Mikhail Glukhikh
|
4509cd43cb
|
Convert to expression body fix: do not allow = Unit for constructors
|
2016-09-19 10:58:37 +03:00 |
|
Mikhail Glukhikh
|
24c7efd323
|
Minor: WITH_RUNTIME removed from a set of intention tests
|
2016-09-19 10:57:16 +03:00 |
|
shiraji
|
4f49444f3b
|
Allow to convert empty Unit returning functions to expression form #KT-13588 Fixed
|
2016-09-16 15:31:13 +03:00 |
|
shiraji
|
e4c873dc6a
|
Add inspection + intention to replace .let { it.foo() } with .foo() #KT-13551 Fixed
|
2016-09-15 14:26:06 +03:00 |
|
Alexey Sedunov
|
23491afde2
|
Move to Companion Intention: Do not use qualified names as labels
#KT-11483 Fixed
|
2016-09-12 21:03:18 +03:00 |
|
Mikhail Glukhikh
|
23132ad519
|
Convert lambda to reference intention: apply shorten references to callable reference only, not to the whole argument list
|
2016-09-09 14:59:57 +03:00 |
|
Mikhail Glukhikh
|
06b7881776
|
Refactoring: add braces to when entry intention is integrated into general add braces intention
|
2016-09-09 14:59:52 +03:00 |
|
Mikhail Glukhikh
|
cbc7f72f15
|
Minor: remove braces is now applicable for the whole loop or when entry
|
2016-09-09 14:59:47 +03:00 |
|
Mikhail Glukhikh
|
cf2839eb9a
|
Refactoring: remove braces from when entry intention is integrated into general remove braces intention
|
2016-09-09 14:59:42 +03:00 |
|
Mikhail Glukhikh
|
8b6cec6ba2
|
Test fix: typeFromJavaFlexibleRecursive
|
2016-09-08 18:54:57 +03:00 |
|
Nikolay Krasko
|
28d187ca1a
|
More tests for ChangeVisibilityModifierIntention
(cherry picked from commit e7cdba7)
|
2016-09-08 17:32:40 +03:00 |
|
Mikhail Glukhikh
|
c7f87e655c
|
Build fix (ConvertLambdaToReferenceIntention)
|
2016-09-01 18:45:42 +03:00 |
|
Mikhail Glukhikh
|
2ab553243c
|
Convert lambda to reference: use fully qualified type names if needed #KT-13438 Fixed
(cherry picked from commit e2e761e)
|
2016-09-01 14:44:36 +03:00 |
|
Mikhail Glukhikh
|
a41c4b9a0f
|
Convert lambda to reference: flexible receiver types are handled correctly #KT-13411 Fixed
(cherry picked from commit ecad1c3)
|
2016-09-01 14:44:22 +03:00 |
|
Mikhail Glukhikh
|
863e4afc7b
|
Convert lambda to reference: no more allowed for extension KFunction parameters #KT-13527 Fixed
(cherry picked from commit 84c4ff7)
|
2016-09-01 14:44:11 +03:00 |
|
Alexey Sedunov
|
89c39b9762
|
Misc: Use TODO() consistently in implementation stubs
#KT-13589 Fixed
|
2016-08-29 16:20:55 +03:00 |
|
Mikhail Glukhikh
|
605ac0b25e
|
Invert if: more correct handling of empty returns #KT-13444 Fixed
(cherry picked from commit be2adaf)
|
2016-08-25 10:32:21 +03:00 |
|
Alexey Sedunov
|
c50f38aa52
|
Intentions: Implement intention to replace camel-case test function name with a space-separated one
#KT-12489 Fixed
(cherry picked from commit 21e24a1)
|
2016-08-24 11:27:21 +03:00 |
|
Valentin Kipyatkov
|
2d875e516e
|
Groupped tests by folders
|
2016-08-23 22:47:42 +03:00 |
|
Valentin Kipyatkov
|
d0f6e25783
|
sum and sumBy supported
|
2016-08-23 22:47:42 +03:00 |
|
Valentin Kipyatkov
|
61d1826980
|
Better test
|
2016-08-23 22:47:41 +03:00 |
|
Valentin Kipyatkov
|
91954e131a
|
Math.max/min pattern for min/max supported
|
2016-08-23 22:47:41 +03:00 |
|
Valentin Kipyatkov
|
84fd24a1a0
|
Another pattern for min/max supported
|
2016-08-23 22:47:41 +03:00 |
|
Valentin Kipyatkov
|
930f7960ea
|
max()/minI() supported
|
2016-08-23 22:47:41 +03:00 |
|
Valentin Kipyatkov
|
26cdd0d5d5
|
KT-13482 "Loop can be replaced with stdlib operations" changes semantics
#KT-13482 Fixed
|
2016-08-23 22:47:40 +03:00 |
|
shiraji
|
1bbde54e9d
|
Inspection to warn on using == with array types #KT-13384 Fixed
|
2016-08-22 15:11:19 +03:00 |
|
Mikhail Glukhikh
|
8de68e3e87
|
Merge pull request #931 from cypressious/empty_parens
Add intention+inspection to remove empty parentheses from method call with single lambda parameter
|
2016-08-22 11:34:24 +03:00 |
|
Kirill Rakhman
|
1bc2af6436
|
Add intention+inspection to remove empty parentheses from method call with single lambda parameter
Fixes #KT-13519
|
2016-08-20 16:03:42 +02:00 |
|
Kirill Rakhman
|
e6e46809de
|
fix "Can be replaced with comparison" false positive if extension method called 'equals' is used
Fixes #KT-13480
|
2016-08-20 14:11:57 +02:00 |
|
Kirill Rakhman
|
354d047533
|
Add Intention to replace a..b-1 with a until b and vice versa #KT-13483 Fixed
|
2016-08-18 13:27:07 +03:00 |
|
Kirill
|
1926825019
|
Make folding if to return/assignment work with if-else if-else #KT-13452 Fixed
|
2016-08-17 17:51:08 +03:00 |
|
Valentin Kipyatkov
|
8e6a01fe0a
|
arrayListOf, mutableListOf, hashSetOf and mutableSetOf supported
|
2016-08-16 17:38:19 +03:00 |
|
Valentin Kipyatkov
|
054558ad95
|
More correct checking of smart cast preserving
|
2016-08-16 17:38:19 +03:00 |
|
Valentin Kipyatkov
|
bfed954e85
|
Added tests
|
2016-08-16 17:38:19 +03:00 |
|
Valentin Kipyatkov
|
e32724330f
|
Moved shouldUseInputVariable from Transformation to TransformationMatcher and changed its semantics a bit
|
2016-08-16 17:38:18 +03:00 |
|
Valentin Kipyatkov
|
bdd4363802
|
Option to use 'asSequence()'
|
2016-08-16 17:38:17 +03:00 |
|
Valentin Kipyatkov
|
128896fa43
|
Formatting of "?:" onto the next line
|
2016-08-16 17:38:15 +03:00 |
|