You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2014/06/29 14:05:42 UTC
svn commit: r1606476 -
/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
Author: ggregory
Date: Sun Jun 29 12:05:42 2014
New Revision: 1606476
URL: http://svn.apache.org/r1606476
Log:
Better lvar name.
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=1606476&r1=1606475&r2=1606476&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:42 2014
@@ -65,11 +65,11 @@ public class ExceptionHandlers{
* handlers that protect the instruction ih.
*/
public ExceptionHandler[] getExceptionHandlers(InstructionHandle ih){
- Set<ExceptionHandler> hs = exceptionhandlers.get(ih);
- if (hs == null) {
+ Set<ExceptionHandler> hsSet = exceptionhandlers.get(ih);
+ if (hsSet == null) {
return new ExceptionHandler[0];
} else{
- return hs.toArray(new ExceptionHandler[hs.size()]);
+ return hsSet.toArray(new ExceptionHandler[hsSet.size()]);
}
}