This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new 93eed0fc Don't initialize an instance or static variable to its
default value
93eed0fc is described below
commit 93eed0fc3606a764a79a48fcdb362ea7bc37c2eb
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 27 09:35:30 2023 -0400
Don't initialize an instance or static variable to its default value
---
src/examples/Mini/MiniC.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/examples/Mini/MiniC.java b/src/examples/Mini/MiniC.java
index f58d3024..62e3b9e2 100644
--- a/src/examples/Mini/MiniC.java
+++ b/src/examples/Mini/MiniC.java
@@ -28,10 +28,10 @@ import org.apache.bcel.generic.ClassGen;
import org.apache.bcel.generic.ConstantPoolGen;
public class MiniC {
- private static Vector<String> errors = null;
- private static Vector<String> warnings = null;
- private static String file = null;
- private static int pass = 0;
+ private static Vector<String> errors;
+ private static Vector<String> warnings;
+ private static String file;
+ private static int pass;
final static void addError(final int line, final int column, final String
err) {
if (pass != 2) {