import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.List;
import java.util.ArrayList;
<BUG>public class PatchReader {
private enum DiffFormat { CONTEXT, UNIFIED }</BUG>
private String[] myLines;
private int myLineIndex = 0;
private DiffFormat myDiffFormat = null;

import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.List;
import java.util.ArrayList;
public class PatchReader {
@NonNls private static final String NO_NEWLINE_SIGNATURE = "\\ No newline at end of file";
private enum DiffFormat { CONTEXT, UNIFIED }
private String[] myLines;
private int myLineIndex = 0;
private DiffFormat myDiffFormat = null;
