From b13907f0869141b1a1342b33de35e515fe8ce124 Mon Sep 17 00:00:00 2001 From: Tomasz Zarna Date: Sun, 11 May 2014 21:14:30 +0200 Subject: [PATCH] Fix javadoc errors caused by missing tags for declared exceptions Change-Id: I587aae0ad217ed092f061682ffa66c724f221096 Signed-off-by: Tomasz Zarna Signed-off-by: Matthias Sohn --- org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java index f9893644d..e90abb5fb 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java @@ -136,6 +136,7 @@ public class RepoCommand extends GitCommand { * @param ref * The ref (branch/tag/etc.) to read * @return the sha1 of the remote repository + * @throws GitAPIException */ public ObjectId sha1(String uri, String ref) throws GitAPIException; @@ -149,6 +150,8 @@ public class RepoCommand extends GitCommand { * @param path * The relative path (inside the repo) to the file to read * @return the file content. + * @throws GitAPIException + * @throws IOException */ public byte[] readFile(String uri, String ref, String path) throws GitAPIException, IOException;