JetBrains/kotlin — pull request #410 by kuity (2014-03-14 01:32:55+00:00)
Title: KT4385 Bug Fix for Unnecessary Parentheses in WhenToIfIntention

There were some cases where the when to if intention were leaving some unnecessary parentheses after the intention was applied. I narrowed the case down to when the operand is a dot qualified expression and added a line in the ```parenthesizeIfNeeded function``` to include a clause for dot qualified expressions.

Link: http://youtrack.jetbrains.com/issue/KT-4385