Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Harmonization of the FileReader #1

johnjohndoe opened this Issue · 0 comments

1 participant

Tobias Preuss
Tobias Preuss

The use and meaning of local variables in FileReader readline and readLineBackwards are not consistent. Especially, the character position at which the reader sits after one while loop in readLineBackwards is another then it is in readLine. That makes it difficult to use the class without knowledge about the inner semantics.
Further, readLineBackwards can be simplified by getting rid of the redundant if-clauses used before and within the while loop. That needs some brain power of course :-}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.