diff options
Diffstat (limited to 'src/proguard/evaluation/Variables.java')
-rw-r--r-- | src/proguard/evaluation/Variables.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/proguard/evaluation/Variables.java b/src/proguard/evaluation/Variables.java index 0cf2584..4496aaa 100644 --- a/src/proguard/evaluation/Variables.java +++ b/src/proguard/evaluation/Variables.java @@ -2,7 +2,7 @@ * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * - * Copyright (c) 2002-2011 Eric Lafortune (eric@graphics.cornell.edu) + * Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free @@ -22,8 +22,6 @@ package proguard.evaluation; import proguard.evaluation.value.*; -import java.util.Arrays; - /** * This class represents a local variable frame that contains <code>Value</code> * objects. Values are generalizations of all values that have been stored in @@ -77,7 +75,10 @@ public class Variables else { // Clear the variables. - Arrays.fill(values, null); + for (int index = 0; index < values.length; index++) + { + values[index] = null; + } } this.size = size; |