From 12de168699321ca5183251dc989d38a2e2cd9368 Mon Sep 17 00:00:00 2001 From: "Gary David Gregory (Code signing key)" Date: Sun, 12 Nov 2023 09:46:04 -0500 Subject: [PATCH] Camel-case parameter names --- src/examples/Mini/ASCII_CharStream.java | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/examples/Mini/ASCII_CharStream.java b/src/examples/Mini/ASCII_CharStream.java index 3d2be3879d..a486f44cf9 100644 --- a/src/examples/Mini/ASCII_CharStream.java +++ b/src/examples/Mini/ASCII_CharStream.java @@ -237,21 +237,21 @@ static public char readChar() throws IOException { return c; } - static public void ReInit(final java.io.InputStream dstream, final int startline, final int startColumn) { - ReInit(dstream, startline, startColumn, 4096); + static public void ReInit(final java.io.InputStream dstream, final int startLine, final int startColumn) { + ReInit(dstream, startLine, startColumn, 4096); } - static public void ReInit(final java.io.InputStream dstream, final int startline, final int startColumn, final int bufferSize) { - ReInit(new java.io.InputStreamReader(dstream), startline, startColumn, 4096); + static public void ReInit(final java.io.InputStream dstream, final int startLine, final int startColumn, final int bufferSize) { + ReInit(new java.io.InputStreamReader(dstream), startLine, startColumn, 4096); } - static public void ReInit(final java.io.Reader dstream, final int startline, final int startColumn) { - ReInit(dstream, startline, startColumn, 4096); + static public void ReInit(final java.io.Reader dstream, final int startLine, final int startColumn) { + ReInit(dstream, startLine, startColumn, 4096); } - static public void ReInit(final java.io.Reader dstream, final int startline, final int startColumn, final int bufferSize) { + static public void ReInit(final java.io.Reader dstream, final int startLine, final int startColumn, final int bufferSize) { inputStream = dstream; - line = startline; + line = startLine; column = startColumn - 1; if (buffer == null || bufferSize != buffer.length) { @@ -299,25 +299,25 @@ static private void UpdateLineColumn(final char c) { bufcolumn[bufpos] = column; } - public ASCII_CharStream(final java.io.InputStream dstream, final int startline, final int startColumn) { - this(dstream, startline, startColumn, 4096); + public ASCII_CharStream(final java.io.InputStream dstream, final int startLine, final int startColumn) { + this(dstream, startLine, startColumn, 4096); } - public ASCII_CharStream(final java.io.InputStream dstream, final int startline, final int startColumn, final int bufferSize) { - this(new java.io.InputStreamReader(dstream), startline, startColumn, 4096); + public ASCII_CharStream(final java.io.InputStream dstream, final int startLine, final int startColumn, final int bufferSize) { + this(new java.io.InputStreamReader(dstream), startLine, startColumn, 4096); } - public ASCII_CharStream(final java.io.Reader dstream, final int startline, final int startColumn) { - this(dstream, startline, startColumn, 4096); + public ASCII_CharStream(final java.io.Reader dstream, final int startLine, final int startColumn) { + this(dstream, startLine, startColumn, 4096); } - public ASCII_CharStream(final java.io.Reader dstream, final int startline, final int startColumn, final int bufferSize) { + public ASCII_CharStream(final java.io.Reader dstream, final int startLine, final int startColumn, final int bufferSize) { if (inputStream != null) { throw new Error("\n ERROR: Second call to the constructor of a static ASCII_CharStream. You must\n" + " either use ReInit() or set the JavaCC option STATIC to false\n" + " during the generation of this class."); } inputStream = dstream; - line = startline; + line = startLine; column = startColumn - 1; available = bufsize = bufferSize;