<< Back to previous view

[TRDR-1] read-char returns nil for some input types, on first attempt to read a char Created: 12/Feb/13  Updated: 01/Aug/13  Resolved: 12/Feb/13

Status: Closed
Project: tools.reader
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Andy Fingerhut Assignee: Andy Fingerhut
Resolution: Completed Votes: 0
Labels: None

Attachments: Text File trdr-1-correct-read-char-v1.txt    
Patch: Code


The return value from Java's .read method is -1 for EOF. A couple of condition checks in the code appear to be reversed. See the patch.

Comment by Nicola Mometto [ 12/Feb/13 4:47 PM ]

Thanks, tests for reader-types are now on the TODO list

Generated at Thu Aug 17 04:38:38 CDT 2017 using JIRA 4.4#649-r158309.