commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r772544 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
Date Thu, 07 May 2009 08:28:14 GMT
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;



Mime
View raw message