From cf72873535fcdf845c9de9683c6ca542ca8c1ee6 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Sun, 7 Sep 2014 16:44:22 +0400 Subject: IDEA-127466 (test added) --- testData/classes/pkg/TestCodeConstructs.class | Bin 661 -> 513 bytes testData/results/TestCodeConstructs.dec | 5 ++--- testData/src/pkg/TestCodeConstructs.java | 5 ++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/testData/classes/pkg/TestCodeConstructs.class b/testData/classes/pkg/TestCodeConstructs.class index 3a27770..5727e89 100644 Binary files a/testData/classes/pkg/TestCodeConstructs.class and b/testData/classes/pkg/TestCodeConstructs.class differ diff --git a/testData/results/TestCodeConstructs.dec b/testData/results/TestCodeConstructs.dec index d2d5c75..eb9de8d 100644 --- a/testData/results/TestCodeConstructs.dec +++ b/testData/results/TestCodeConstructs.dec @@ -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++); } } diff --git a/testData/src/pkg/TestCodeConstructs.java b/testData/src/pkg/TestCodeConstructs.java index 3c0ad53..fd903e4 100644 --- a/testData/src/pkg/TestCodeConstructs.java +++ b/testData/src/pkg/TestCodeConstructs.java @@ -21,8 +21,7 @@ class TestCodeConstructs { } private int count = 0; - String fieldIncrement() { - int id = count++; - return "id:" + id; + Integer fieldIncrement() { + return new Integer(count++); } } \ No newline at end of file -- cgit v1.2.3