You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2009/05/07 10:28:14 UTC
svn commit: r772544 -
/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
Author: bayard
Date: Thu May 7 08:28:13 2009
New Revision: 772544
URL: http://svn.apache.org/viewvc?rev=772544&view=rev
Log:
Type doesn't need tobe ArrayList
Modified:
commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java?rev=772544&r1=772543&r2=772544&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java Thu May 7 08:28:13 2009
@@ -806,7 +806,7 @@
}
Throwable throwables[] = getThrowables(throwable);
int count = throwables.length;
- ArrayList<String> frames = new ArrayList<String>();
+ List<String> frames = new ArrayList<String>();
List<String> nextTrace = getStackFrameList(throwables[count - 1]);
for (int i = count; --i >= 0;) {
List<String> trace = nextTrace;