IDEA-127466 (test added)
This commit is contained in:
parent
7a8097321f
commit
cf72873535
Binary file not shown.
@ -7,8 +7,7 @@ class TestCodeConstructs {
|
||||
(new String()).hashCode();
|
||||
}
|
||||
|
||||
String fieldIncrement() {
|
||||
int var1 = this.count++;
|
||||
return "id:" + var1;
|
||||
Integer fieldIncrement() {
|
||||
return new Integer(this.count++);
|
||||
}
|
||||
}
|
||||
|
@ -21,8 +21,7 @@ class TestCodeConstructs {
|
||||
}
|
||||
|
||||
private int count = 0;
|
||||
String fieldIncrement() {
|
||||
int id = count++;
|
||||
return "id:" + id;
|
||||
Integer fieldIncrement() {
|
||||
return new Integer(count++);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user