KT-1426 Implement "Optimize Imports" in plugin - a slightly better formatting

This commit is contained in:
Nikolay Krasko
2012-03-19 21:52:36 +04:00
parent 1c408cdbda
commit 856c05b2a8
6 changed files with 58 additions and 18 deletions
@@ -1,3 +1,6 @@
/**
Comment 1
*/
package sometest
@@ -6,6 +9,9 @@ import java.text.Annotation as TextAnnotation
import java.util.ArrayList
import java.util.HashSet
/**
Comment 2
*/
class Action {
fun test(hash : HashSet<Int>) {
val some : TextAnnotation? = null
@@ -1,11 +1,16 @@
/**
Comment 1
*/
package sometest
import java.io as JavaIO
import java.text.Annotation as TextAnnotation
import java.util.ArrayList
import java.util.HashSet
/**
Comment 2
*/
class Action {
fun test(hash : HashSet<Int>) {
val some : TextAnnotation? = null
@@ -1,6 +1,5 @@
package sometest
import java.util.ArrayList
import java.util.HashSet