summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigration/t04/after/test.java
blob: 080208fcbd6c198f73b8929b2d0ecf2673dd728e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 {
    Long[] bar() {
        return new Long[0];
    }

    Long[][] foo(int n, int k) {
        Long[][] a = new Long[][]{new Long[0], new Long[0]};

        for (int i = 0; i < a.length; i++) {
            a[i] = bar();
        }

        return a;
    }
}