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 94a92234 Normalize type declarations
94a92234 is described below

commit 94a92234d7ec40640399769174798885dde88a84
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Aug 23 07:34:03 2023 -0400

    Normalize type declarations
---
 src/examples/Mini/ASCII_CharStream.java | 4 ++--
 src/examples/Mini/SimpleNode.java       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/examples/Mini/ASCII_CharStream.java 
b/src/examples/Mini/ASCII_CharStream.java
index ec1c37e3..2f35fbbe 100644
--- a/src/examples/Mini/ASCII_CharStream.java
+++ b/src/examples/Mini/ASCII_CharStream.java
@@ -109,8 +109,8 @@ public final class ASCII_CharStream {
 
     static private void ExpandBuff(final boolean wrapAround) {
         final char[] newbuffer = new char[bufsize + 2048];
-        final int newbufline[] = new int[bufsize + 2048];
-        final int newbufcolumn[] = new int[bufsize + 2048];
+        final int[] newbufline = new int[bufsize + 2048];
+        final int[] newbufcolumn = new int[bufsize + 2048];
 
         try {
             if (wrapAround) {
diff --git a/src/examples/Mini/SimpleNode.java 
b/src/examples/Mini/SimpleNode.java
index fffced76..b794842c 100644
--- a/src/examples/Mini/SimpleNode.java
+++ b/src/examples/Mini/SimpleNode.java
@@ -56,7 +56,7 @@ public abstract class SimpleNode implements Node {
         if (children == null) {
             children = new Node[i + 1];
         } else if (i >= children.length) {
-            final Node c[] = new Node[i + 1];
+            final Node[] c = new Node[i + 1];
             System.arraycopy(children, 0, c, 0, children.length);
             children = c;
         }

Reply via email to