final RevCommit first;
try {
first = RevWalk.this.next();
- } catch (MissingObjectException e) {
- throw new RevWalkException(e);
- } catch (IncorrectObjectTypeException e) {
- throw new RevWalkException(e);
} catch (IOException e) {
throw new RevWalkException(e);
}
final RevCommit r = next;
next = RevWalk.this.next();
return r;
- } catch (MissingObjectException e) {
- throw new RevWalkException(e);
- } catch (IncorrectObjectTypeException e) {
- throw new RevWalkException(e);
} catch (IOException e) {
throw new RevWalkException(e);
}