e507cd331e283423a61e361f6ff78544ec0f2f1d
Previously, advance() does not terminate early when numOfChar equals lengthWithNewline. Since lengthWithNewline may change in the next iteration of the while loop, the desired LineCharacter may not be returned, and an IllegalStateException will be thrown. Fixed by checking if numOfChar is 0 after advanceLine() and returning early if true. Change-Id: Icab77db3947aa25cd39571ec50e76f9481fb1f08
Description
RETIRED, Gerrit as used by OpenStack