int startLineBefore = Integer.parseInt(m.group(1));
int endLineBefore = Integer.parseInt(m.group(2));
int startLineAfter = Integer.parseInt(m.group(3));
int endLineAfter = Integer.parseInt(m.group(4));
PatchHunk hunk = new PatchHunk(startLineBefore, endLineBefore, startLineAfter, endLineAfter);
<BUG>myLineIndex++;
while(myLineIndex < myLines.length) {
String curLine = myLines [myLineIndex];
final PatchLine line = parsePatchLine(curLine, 1);

if (line == null) {
</BUG>
break;

int startLineBefore = Integer.parseInt(m.group(1));
int endLineBefore = Integer.parseInt(m.group(2));
int startLineAfter = Integer.parseInt(m.group(3));
int endLineAfter = Integer.parseInt(m.group(4));
PatchHunk hunk = new PatchHunk(startLineBefore, endLineBefore, startLineAfter, endLineAfter);
myLineIndex++;
PatchLine lastLine = null;
while(myLineIndex < myLines.length) {
String curLine = myLines [myLineIndex];
if (lastLine != null && curLine.startsWith(NO_NEWLINE_SIGNATURE)) {
lastLine.setSuppressNewLine(true);
myLineIndex++;
continue;
