Type doesn't need tobe ArrayList

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2009-05-07 08:28:13 +00:00
parent 97631fd612
commit bab78e92bb
1 changed files with 1 additions and 1 deletions

View File

@ -806,7 +806,7 @@ public class ExceptionUtils {
} }
Throwable throwables[] = getThrowables(throwable); Throwable throwables[] = getThrowables(throwable);
int count = throwables.length; int count = throwables.length;
ArrayList<String> frames = new ArrayList<String>(); List<String> frames = new ArrayList<String>();
List<String> nextTrace = getStackFrameList(throwables[count - 1]); List<String> nextTrace = getStackFrameList(throwables[count - 1]);
for (int i = count; --i >= 0;) { for (int i = count; --i >= 0;) {
List<String> trace = nextTrace; List<String> trace = nextTrace;