diff --git a/src/examples/Mini/ASCII_CharStream.java b/src/examples/Mini/ASCII_CharStream.java index ec1c37e395..2f35fbbe34 100644 --- a/src/examples/Mini/ASCII_CharStream.java +++ b/src/examples/Mini/ASCII_CharStream.java @@ -109,8 +109,8 @@ static public void Done() { 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 fffced768a..b794842cc1 100644 --- a/src/examples/Mini/SimpleNode.java +++ b/src/examples/Mini/SimpleNode.java @@ -56,7 +56,7 @@ public void jjtAddChild(final Node n, final int i) { 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; }