firstLine = Math.min(firstLine, s.getStartLine());
lastLine = Math.max(lastLine, s.getEndLine());
}
}
SourceLineAnnotation primarySource = primaryClass.getSourceLines();
<BUG>if (primarySource.isSourceFileKnown() && firstLine >= 1 && firstLine <= lastLine && lastLine - firstLine < 50) {
try {</BUG>
Project project = cloud.getBugCollection().getProject();
SourceFile sourceFile = project.getSourceFinder().findSourceFile(primarySource);
<BUG>BufferedReader in = UTF8.bufferedReader(sourceFile.getInputStream());
int lineNumber = 1;</BUG>
String commonWhiteSpace = null;

firstLine = Math.min(firstLine, s.getStartLine());
lastLine = Math.max(lastLine, s.getEndLine());
}
}
SourceLineAnnotation primarySource = primaryClass.getSourceLines();
if (primarySource.isSourceFileKnown() && firstLine >= 1 && firstLine <= lastLine && lastLine - firstLine < 50) {
BufferedReader in = null;
try {
Project project = cloud.getBugCollection().getProject();
SourceFile sourceFile = project.getSourceFinder().findSourceFile(primarySource);
in = UTF8.bufferedReader(sourceFile.getInputStream());
int lineNumber = 1;
String commonWhiteSpace = null;
