Просмотр исходного кода

Declare all thrown exceptions in Repository

Bug 393155
Change-Id: If702f2e54b17e82890f016126ee7bde4bff4af1d
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
tags/v2.2.0.201212191850-r
Dani Megert 11 лет назад
Родитель
Сommit
58dd286848
1 измененных файлов: 3 добавлений и 1 удалений
  1. 3
    1
      org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java

+ 3
- 1
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java Просмотреть файл

* Copyright (C) 2008-2010, Google Inc. * Copyright (C) 2008-2010, Google Inc.
* Copyright (C) 2006-2010, Robin Rosenberg <robin.rosenberg@dewire.com> * Copyright (C) 2006-2010, Robin Rosenberg <robin.rosenberg@dewire.com>
* Copyright (C) 2006-2012, Shawn O. Pearce <spearce@spearce.org> * Copyright (C) 2006-2012, Shawn O. Pearce <spearce@spearce.org>
* Copyright (C) 2012, Daniel Megert <daniel_megert@ch.ibm.com>
* and other copyright owners as documented in the project's IP log. * and other copyright owners as documented in the project's IP log.
* *
* This program and the accompanying materials are made available * This program and the accompanying materials are made available
* on serious errors * on serious errors
*/ */
public ObjectId resolve(final String revstr) public ObjectId resolve(final String revstr)
throws AmbiguousObjectException, IOException {
throws AmbiguousObjectException, IncorrectObjectTypeException,
RevisionSyntaxException, IOException {
RevWalk rw = new RevWalk(this); RevWalk rw = new RevWalk(this);
try { try {
Object resolved = resolve(rw, revstr); Object resolved = resolve(rw, revstr);

Загрузка…
Отмена
Сохранить