diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/errors/DiffInterruptedException.java b/org.eclipse.jgit/src/org/eclipse/jgit/errors/DiffInterruptedException.java index 94c8e5d1d..5f9ce351a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/errors/DiffInterruptedException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/errors/DiffInterruptedException.java @@ -69,6 +69,7 @@ public class DiffInterruptedException extends RuntimeException { super(message); } + /** Indicates that the thread computing a diff was interrupted. */ public DiffInterruptedException() { super(); } diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ServiceNotAuthorizedException.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ServiceNotAuthorizedException.java index a9e3e42ed..57a61928b 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ServiceNotAuthorizedException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ServiceNotAuthorizedException.java @@ -50,7 +50,7 @@ import org.eclipse.jgit.internal.JGitText; * the current user has not provided. *
* This corresponds to response code - * {@link javax.servlet.http.HttpServletResponse#SC_UNAUTHORIZED}. + * {@code HttpServletResponse.SC_UNAUTHORIZED}. */ public class ServiceNotAuthorizedException extends Exception { private static final long serialVersionUID = 1L; @@ -72,6 +72,7 @@ public class ServiceNotAuthorizedException extends Exception { super(message); } + /** Indicates that the requested service requires authentication. */ public ServiceNotAuthorizedException() { super(JGitText.get().unauthorized); }