commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1606474 - /commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
Date Sun, 29 Jun 2014 12:05:13 GMT
Author: ggregory
Date: Sun Jun 29 12:05:13 2014
New Revision: 1606474

URL: http://svn.apache.org/r1606474
Log:
In-line lvar.

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java?rev=1606474&r1=1606473&r2=1606474&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
Sun Jun 29 12:05:13 2014
@@ -69,8 +69,7 @@ public class ExceptionHandlers{
         if (hs == null) {
             return new ExceptionHandler[0];
         } else{
-            ExceptionHandler[] ret = new ExceptionHandler[hs.size()];
-            return hs.toArray(ret);
+            return hs.toArray(new ExceptionHandler[hs.size()]);
         }
     }
 



Mime
View raw message