public boolean findSource0(SourceLineAnnotation srcLine) { if (srcLine == null) { return false; } String cName = srcLine.getClassName(); if (sourceFound.contains(cName)) { return true; } if (sourceNotFound.contains(cName)) { return false; } try { InputStream in = sourceFinder.openSource(srcLine); in.close(); sourceFound.add(cName); return true; } catch (IOException e1) { sourceNotFound.add(cName); return false; } }
public boolean findSource0(SourceLineAnnotation srcLine) { if (srcLine == null) { return false; } String cName = srcLine.getClassName(); if (sourceFound.contains(cName)) { return true; } if (sourceNotFound.contains(cName)) { return false; } try { InputStream in = sourceFinder.openSource(srcLine); in.close(); sourceFound.add(cName); return true; } catch (IOException e1) { sourceNotFound.add(cName); return false; } }