Files
gerrit/gerrit-server/src/main/java
Michael Zhou f967024c3c Fix inclusion of LF in IntralineLoader
An edit may contain consecutive LFs. Currently, if a replacement
region ends with the first LF, the second LF may still be included,
producing a region that spans two lines. If there is another region that
starts with this second LF, the end of the first region will be
greater than the beginning of the second one, which is an error.

The error does not seem to affect the old diff view but is caught
by SideBySide2. Fixed by checking if the region already ends with LF.

Change-Id: I86aa9100dc1318935aa350a0aba0c411e2dc5841
2013-11-09 02:22:01 +00:00
..
2013-09-13 13:57:44 +08:00