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(); (new String()).hashCode();
} }
String fieldIncrement() { Integer fieldIncrement() {
int var1 = this.count++; return new Integer(this.count++);
return "id:" + var1;
} }
} }

View File

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