let the compiler build the arrays for me

This commit is contained in:
Andy2 2010-07-01 18:56:41 -07:00
parent 6946cbc499
commit b5bf895874

View file

@ -35,8 +35,8 @@ import org.eehouse.android.xw4.jni.*;
public class Toolbar {
private static class TBButtonInfo {
public TBButtonInfo( int horID, int vertID ) {
m_ids = new int[] { horID, vertID };
public TBButtonInfo( int... ids ) {
m_ids = ids;
}
public int m_ids[];
}