Fix common misspellings

This commit is contained in:
Marcin Moskala
2018-11-25 23:35:33 +03:00
committed by Nikolay Krasko
parent 33961acb8d
commit 686cfa6fd2
58 changed files with 115 additions and 123 deletions
@@ -284,7 +284,7 @@ final class LineBuffer {
// If the last character of the previous fill was a carriage return,
// then ignore a newline.
// There's another bizzare special case here. If lastWasCR is
// There's another bizarre special case here. If lastWasCR is
// true, and we see a newline, and the buffer length is
// 1... then we probably just read the last character of the
// file, and returning after advancing offset is not the right
@@ -1487,8 +1487,8 @@ public class TokenStream {
private int op;
public boolean treatKeywordAsIdentifier;
// Set this to an inital non-null value so that the Parser has
// something to retrieve even if an error has occured and no
// Set this to an initial non-null value so that the Parser has
// something to retrieve even if an error has occurred and no
// string is found. Fosters one class of error, but saves lots of
// code.
private String string = "";
@@ -452,6 +452,6 @@ class UintMap implements Serializable {
// values associated with keys
private transient int ivaluesShift;
// If true, enables consitency checks
// If true, enables consistency checks
private static final boolean check = false;
}