diff options
author | Tor Norbye <tnorbye@google.com> | 2014-07-25 13:10:36 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2014-07-25 13:10:36 -0700 |
commit | e5266e2343c8d275d79fa0be725180d0fe3a993c (patch) | |
tree | 0ba72f5de1949e0527874a799baa224cbe1537e0 /java/typeMigration/testData/refactoring/typeMigration/t03/after/test.java | |
parent | b03a5855292feb8c331815f883fe64372aacd872 (diff) | |
parent | 2e5965e996aad62ab1338b09d54caaf99ff3dd6a (diff) | |
download | idea-e5266e2343c8d275d79fa0be725180d0fe3a993c.tar.gz |
Merge remote-tracking branch 'aosp/upstream-master' into merge
Conflicts:
.idea/modules.xml
Change-Id: I5e3d04bc83cdc26b2b56fca66b44b1dd8941b143
Diffstat (limited to 'java/typeMigration/testData/refactoring/typeMigration/t03/after/test.java')
-rw-r--r-- | java/typeMigration/testData/refactoring/typeMigration/t03/after/test.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/java/typeMigration/testData/refactoring/typeMigration/t03/after/test.java b/java/typeMigration/testData/refactoring/typeMigration/t03/after/test.java new file mode 100644 index 000000000000..5fd61417ba05 --- /dev/null +++ b/java/typeMigration/testData/refactoring/typeMigration/t03/after/test.java @@ -0,0 +1,22 @@ +/** + * Created by IntelliJ IDEA. + * User: db + * Date: Nov 15, 2004 + * Time: 5:40:02 PM + * To change this template use File | Settings | File Templates. + */ +public class Test { + Integer sum(int i, int j) { + return i + j; + } + + int[] foo(int n, int k) { + int[] a = new int[n]; + + for (int i = 0; i < a.length; i++) { + a[i] = sum(i, k); + } + + return a; + } +} |