Make all classes of the project REST API public

This allows us at Google to have a custom Guice module that binds the
project REST endpoints.

Change-Id: Ie8176abf788df47ad330ae4cbc1ee162a7e8061c
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2018-06-06 11:47:06 +02:00
parent f776f12ca0
commit eaa1783b24
4 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ import java.io.IOException;
import org.eclipse.jgit.revwalk.RevCommit;
@Singleton
class CommitIncludedIn implements RestReadView<CommitResource> {
public class CommitIncludedIn implements RestReadView<CommitResource> {
private IncludedIn includedIn;
@Inject

View File

@@ -28,7 +28,7 @@ import com.google.inject.Singleton;
import java.io.IOException;
@Singleton
class DeleteDashboard implements RestModifyView<DashboardResource, SetDashboardInput> {
public class DeleteDashboard implements RestModifyView<DashboardResource, SetDashboardInput> {
private final Provider<SetDefaultDashboard> defaultSetter;
@Inject

View File

@@ -22,7 +22,7 @@ import com.google.inject.Inject;
import com.google.inject.Singleton;
@Singleton
class GetProject implements RestReadView<ProjectResource> {
public class GetProject implements RestReadView<ProjectResource> {
private final ProjectJson json;

View File

@@ -23,8 +23,8 @@ import java.util.SortedSet;
import java.util.TreeSet;
/** Node of a Project in a tree formatted by {@link ListProjects}. */
class ProjectNode implements TreeNode, Comparable<ProjectNode> {
interface Factory {
public class ProjectNode implements TreeNode, Comparable<ProjectNode> {
public interface Factory {
ProjectNode create(Project project, boolean isVisible);
}