summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr118781/MyClass.java
blob: c29be0ca9b0c38d638ee30f149ef83f765e6fa79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package blah;

import java.util.Random;

public class MyClass {
       public Integer[] getRandomInt(String[][] param)
       {
               for (int i = 0; i < param.length; i++)
               {
                       System.out.print("[" + i + "] = [");
                       for (int j = 0; j < param[i].length; j++)
                       {
                               System.out.print(param[i][j]);
                               if (j != param[i].length-1)
                                       System.out.print(',');
                       }
                       System.out.println(']');
               }
               return new Integer[] { new Integer(new Random().nextInt())};
       }
}