IDEA-127466 (test added)

This commit is contained in:
Roman Shevchenko 2014-09-07 16:44:22 +04:00
parent 7a8097321f
commit cf72873535
3 changed files with 4 additions and 6 deletions

View File

@ -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++);
}
}

View File

@ -21,8 +21,7 @@ class TestCodeConstructs {
}
private int count = 0;
String fieldIncrement() {
int id = count++;
return "id:" + id;
Integer fieldIncrement() {
return new Integer(count++);
}
}