inplace introduce: invalid identifiers

This commit is contained in:
Anna Kozlova
2014-11-03 16:32:13 +01:00
parent accd4f0b23
commit 870ff1398a
12 changed files with 84 additions and 17 deletions
@@ -0,0 +1,10 @@
public class Derr {
public static void main(String[] args) {
String value;
value = "1";
value = "1";
value = "<caret>1";
}
}
@@ -0,0 +1,12 @@
public class Derr {
public static final String STRING = "1";
public static void main(String[] args) {
String value;
value = STRING;
value = STRING;
value = STRING;
}
}
@@ -0,0 +1,9 @@
public class Derr {
public static void main(String[] args) {
long value;
value = new Long(1);
value = new L<caret>ong(1);
}
}
@@ -0,0 +1,9 @@
public class Derr {
public static void main(String[] args, Long aLong) {
long value;
value = aLong;
value = aLong;
}
}