diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-09-07 16:44:22 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-09-07 16:44:22 +0400 |
commit | cf72873535fcdf845c9de9683c6ca542ca8c1ee6 (patch) | |
tree | 63bfd957d8ea21cbb9ddf29b25c887c34ef1f1ad | |
parent | 7a8097321fd5a06e195ef2327d797c5b9db799d8 (diff) | |
download | fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.tar fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.tar.gz fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.tar.lz fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.tar.xz fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.zip |
IDEA-127466 (test added)
-rw-r--r-- | testData/classes/pkg/TestCodeConstructs.class | bin | 661 -> 513 bytes | |||
-rw-r--r-- | testData/results/TestCodeConstructs.dec | 5 | ||||
-rw-r--r-- | 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 Binary files differindex 3a27770..5727e89 100644 --- a/testData/classes/pkg/TestCodeConstructs.class +++ b/testData/classes/pkg/TestCodeConstructs.class 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 |