Browse Source

Fix javadoc in org.eclipse.jgit.http.test

Change-Id: Ibd18dfed05d35bd70498d11c04c026a34114a87e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v4.10.0.201712302008-r
Matthias Sohn 6 years ago
parent
commit
60b5111e4a

+ 1
- 0
org.eclipse.jgit.http.test/src/org/eclipse/jgit/http/test/RefsUnreadableInMemoryRepository.java View File

@@ -65,6 +65,7 @@ class RefsUnreadableInMemoryRepository extends InMemoryRepository {
failing = false;
}

/** {@inheritDoc} */
@Override
public RefDatabase getRefDatabase() {
return refs;

+ 6
- 3
org.eclipse.jgit.http.test/src/org/eclipse/jgit/http/test/TestRepositoryResolver.java View File

@@ -50,7 +50,9 @@ import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.transport.resolver.RepositoryResolver;
import org.eclipse.jgit.transport.resolver.ServiceNotEnabledException;

/** A simple repository resolver for tests. */
/**
* A simple repository resolver for tests.
*/
public final class TestRepositoryResolver
implements RepositoryResolver<HttpServletRequest> {

@@ -59,8 +61,8 @@ public final class TestRepositoryResolver
private final String repoName;

/**
* Creates a new {@link TestRepositoryResolver} that resolves the given name to
* the given repository.
* Create a new {@link org.eclipse.jgit.http.test.TestRepositoryResolver}
* that resolves the given name to the given repository.
*
* @param repo
* to resolve to
@@ -72,6 +74,7 @@ public final class TestRepositoryResolver
this.repoName = repoName;
}

/** {@inheritDoc} */
@Override
public Repository open(HttpServletRequest req, String name)
throws RepositoryNotFoundException, ServiceNotEnabledException {

Loading…
Cancel
Save