From cf72873535fcdf845c9de9683c6ca542ca8c1ee6 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Sun, 7 Sep 2014 16:44:22 +0400 Subject: [PATCH] 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 3a2777015a716c6a929fa7b43f0bad16f998952a..5727e89464dc73f49c38d811c4194a5bf059affd 100644 GIT binary patch delta 320 zcmYL^u}Z^G6o$W>q`l^P)z&uFTC0UFX&th-IEiDyO;qA!h7uIXP>QSg2&MQEP6}$l zf)C(Z_#)y7EoM0P{OAAg|8ve$>Cub6e?Px~LplbZz-NUmO~c?4QUGpd$6L{lC=^~vw{zThhWA0~@>OO< t;i^k&AY4`ak}2pw?#o@ZIpw$?zu{bY*Y7wp^vl0_@ui8cs0ry%{{xlJEVcju literal 661 zcmaJ<%TB^T6g@+M)=~vgQGDXNkSH5hN?d4SLSl5G(df$3jxdNV>BIP0nkXca_yK;D z@lGU0A#u@rr)TDzd(WNu_K~Fu=tp)K zY)g)T48{$NAa@<2a#ww+^4>Uvuj`jn=+UNipVkK+IRKxaJfJFr?n=x zsdcSk1&wdpGy^#jtKH_V!?0xzdm6Uc?}XgWo7Mlewb1(>3<`8RwOI@&%@`~6q{V_~PjP~UDI5f(WKOD2qF?vw0x`=m>xEy39kfL`0Od;2= vR3ROyS14V*Aa)(Up<0z5lBA$!wGKw+I?y{vJ<*xp^>uQPB4nEI7-qfzhjoVV 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