String[]
.
- * @param list a list to transform.
- * @return the given list as a String[]
.
- */
- private static String[] toArray(ListReturns the default names used when searching for the cause of an exception.
* @@ -670,7 +661,7 @@ public class ExceptionUtils { while (frames.hasMoreTokens()) { list.add(frames.nextToken()); } - return toArray(list); + return list.toArray(new String[list.size()]); } /**