Java to Kotlin converter: declare private field with no writes as val

This commit is contained in:
Valentin Kipyatkov
2014-06-23 19:28:37 +04:00
parent 07bbab3ea0
commit 5a8ab41948
20 changed files with 59 additions and 41 deletions
@@ -1,13 +1,13 @@
//file
public class Test {
private final String myName;
private boolean a;
private double b;
private float c;
private long d;
private int e;
private short f;
private char g;
boolean a;
double b;
float c;
long d;
int e;
protected short f;
protected char g;
public Test() {}