Commit Graph

33164 Commits

Author SHA1 Message Date
Valentin Kipyatkov 50cd61ec9f Minor refactoring 2016-08-16 17:38:18 +03:00
Valentin Kipyatkov 407a3ddc8a Used utility 2016-08-16 17:38:17 +03:00
Valentin Kipyatkov dde397f34d Fixed bug 2016-08-16 17:38:17 +03:00
Valentin Kipyatkov bdd4363802 Option to use 'asSequence()' 2016-08-16 17:38:17 +03:00
Valentin Kipyatkov acdf9e82b4 Minor 2016-08-16 17:38:16 +03:00
Valentin Kipyatkov 77064c7937 Fixed bug with user data not cleared 2016-08-16 17:38:16 +03:00
Valentin Kipyatkov f4a04f04f0 Minor 2016-08-16 17:38:16 +03:00
Valentin Kipyatkov c753e332ed More clear code 2016-08-16 17:38:16 +03:00
Valentin Kipyatkov 1fece52170 Typo correction 2016-08-16 17:38:15 +03:00
Valentin Kipyatkov 128896fa43 Formatting of "?:" onto the next line 2016-08-16 17:38:15 +03:00
Valentin Kipyatkov 9890cebfd9 Code refactoring 2016-08-16 17:38:15 +03:00
Valentin Kipyatkov c9fa95927b Added comments 2016-08-16 17:38:15 +03:00
Valentin Kipyatkov dd50f55415 Removed warnings 2016-08-16 17:38:14 +03:00
Valentin Kipyatkov 7c0f9a76a8 Added one more test 2016-08-16 17:38:14 +03:00
Valentin Kipyatkov e5903f90f2 Added test and asserts 2016-08-16 17:38:14 +03:00
Valentin Kipyatkov 8b4f8e8359 Corrected test data after rebase on master 2016-08-16 17:38:14 +03:00
Valentin Kipyatkov da772e11c2 Minor changes on code review 2016-08-16 17:38:13 +03:00
Valentin Kipyatkov d658d3b9cf "Use withIndex()" intention&inspection 2016-08-16 17:38:13 +03:00
Valentin Kipyatkov 46055dfd2d Refactoring 2016-08-16 17:38:13 +03:00
Valentin Kipyatkov ebdff775f3 Supported index++ pattern as non-last statement and even inside expressions 2016-08-16 17:38:13 +03:00
Valentin Kipyatkov 2c90114d28 Added TODO 2016-08-16 17:38:12 +03:00
Valentin Kipyatkov 4094d77782 Supported forEachIndexed 2016-08-16 17:38:12 +03:00
Valentin Kipyatkov f28dca1fd5 Supported forEach 2016-08-16 17:38:12 +03:00
Valentin Kipyatkov 394cce8e10 Checking type of the collection being iterated 2016-08-16 17:38:11 +03:00
Valentin Kipyatkov 89dab52a14 Minor changes on code review 2016-08-16 17:38:11 +03:00
Valentin Kipyatkov c2103e2200 Supported indexOf/lastIndexOf 2016-08-16 17:38:11 +03:00
Valentin Kipyatkov c080ecb0d1 Code simplification 2016-08-16 17:38:11 +03:00
Valentin Kipyatkov 87c9af532e Refactoring 2016-08-16 17:38:10 +03:00
Valentin Kipyatkov 834fe9d535 Supported contains() 2016-08-16 17:38:10 +03:00
Valentin Kipyatkov 833f62e9b9 Fixed some cases when smart cast problems were not detected 2016-08-16 17:38:10 +03:00
Valentin Kipyatkov fe52bed74e Remove fq-name 2016-08-16 17:38:10 +03:00
Valentin Kipyatkov e8904d7727 Merging loop with initialization before in more cases + better formatting 2016-08-16 17:38:09 +03:00
Valentin Kipyatkov 5ddac24cdd Refactoring 2016-08-16 17:38:09 +03:00
Valentin Kipyatkov b65ecdd660 Supported indexOfFirst/indexOfLast 2016-08-16 17:38:09 +03:00
Valentin Kipyatkov 5ac2c48879 Merging subsequent filtering checks even when index variable is used 2016-08-16 17:38:09 +03:00
Valentin Kipyatkov aa6240a0c5 Do not generate redundant .toList() 2016-08-16 17:38:08 +03:00
Valentin Kipyatkov 813060fef3 Added TODO 2016-08-16 17:38:08 +03:00
Valentin Kipyatkov 9ea6341d46 Minor 2016-08-16 17:38:08 +03:00
Valentin Kipyatkov 4efc8fa2b1 Merged all map-transformations into one class 2016-08-16 17:38:08 +03:00
Valentin Kipyatkov b6e05e058e Supported mapIndexedTo and mapIndexedNotNullTo 2016-08-16 17:38:07 +03:00
Valentin Kipyatkov 2652ea4233 Supported mapNotNullTo 2016-08-16 17:38:07 +03:00
Valentin Kipyatkov 8c7cdf1bf8 Supported other patterns for mapNotNull 2016-08-16 17:38:07 +03:00
Valentin Kipyatkov a6132c7db9 Prohibiting incorrect transformations of loops with expression-embedded break or continue + allowed "?: continue" pattern for mapNotNull 2016-08-16 17:38:07 +03:00
Valentin Kipyatkov cfc82c55c7 Checking that target collection is always the same 2016-08-16 17:38:06 +03:00
Valentin Kipyatkov 3f563f7058 takeWhile supported 2016-08-16 17:38:06 +03:00
Valentin Kipyatkov 9ff0f4d736 filterNotTo supported 2016-08-16 17:38:06 +03:00
Valentin Kipyatkov 0a61e5b0b2 filterIsInstanceTo NOT supported 2016-08-16 17:38:06 +03:00
Valentin Kipyatkov 395e61ca57 filterNotNullTo supported 2016-08-16 17:38:05 +03:00
Valentin Kipyatkov 318f3dfdd8 Supported filterIndexedTo 2016-08-16 17:38:05 +03:00
Valentin Kipyatkov 7c473e7159 Reduced amount of ResultTransformation implementations 2016-08-16 17:38:05 +03:00