summaryrefslogtreecommitdiffstats
path: root/testData
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-09-07 16:44:22 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-09-07 16:44:22 +0400
commitcf72873535fcdf845c9de9683c6ca542ca8c1ee6 (patch)
tree63bfd957d8ea21cbb9ddf29b25c887c34ef1f1ad /testData
parent7a8097321fd5a06e195ef2327d797c5b9db799d8 (diff)
downloadfernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.tar
fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.tar.gz
fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.tar.lz
fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.tar.xz
fernflower-cf72873535fcdf845c9de9683c6ca542ca8c1ee6.zip
IDEA-127466 (test added)
Diffstat (limited to 'testData')
-rw-r--r--testData/classes/pkg/TestCodeConstructs.classbin661 -> 513 bytes
-rw-r--r--testData/results/TestCodeConstructs.dec5
-rw-r--r--testData/src/pkg/TestCodeConstructs.java5
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
--- a/testData/classes/pkg/TestCodeConstructs.class
+++ b/testData/classes/pkg/TestCodeConstructs.class
Binary files 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