KT-7151 Convert 'System.out.println()' to just 'println()'

#KT-7151 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-03-29 19:03:14 +03:00
parent 39f94d7d45
commit 1465418c2b
89 changed files with 198 additions and 140 deletions
@@ -10,17 +10,17 @@ import java.util.ArrayList // we need ArrayList
class A /* just a sample name*/ : Runnable /* let's implement Runnable */ {
fun foo/* again a sample name */(p: Int /* parameter p */, c: Char /* parameter c */) {
// let's print something:
System.out.println("1") // print 1
System.out.println("2") // print 2
println("1") // print 1
println("2") // print 2
System.out.println("3") // print 3
println("3") // print 3
// end of printing
if (p > 0) {
// do this only when p > 0
// we print 4 and return
System.out.println("3")
println("3")
return // do not continue
}