question: protected Object convertArray ( Object arr ) { final int size = Array . getLength ( arr ) ; ArrayList list = new ArrayList ( size ) ; for ( int i = 0 ; i < size ; i ++ ) { list . add ( Array . get ( arr , i ) ) ; } return list ; }
target:  Converts an array to a java.util.List.