Rename comment-related classes to reduce confusion

Change the names to include "Comment", to make it clear that they are
related to draft comments rather than changes or anything else.

Change-Id: Ie9c82b2fab6797c6e69a97394a5ad1d36cfdb6ec
This commit is contained in:
David Pursehouse
2015-01-22 15:57:47 +09:00
parent 2d142b11c1
commit de176c386d
12 changed files with 63 additions and 63 deletions

View File

@@ -127,7 +127,7 @@ public class CommentsTest {
@Inject private AllUsersNameProvider allUsers;
@Inject private Comments comments;
@Inject private Drafts drafts;
@Inject private DraftComments drafts;
@Inject private GetComment getComment;
@Inject private IdentifiedUser.GenericFactory userFactory;
@Inject private InMemoryRepositoryManager repoManager;
@@ -142,10 +142,10 @@ public class CommentsTest {
final TypeLiteral<DynamicMap<RestView<CommentResource>>> commentViewsType =
new TypeLiteral<DynamicMap<RestView<CommentResource>>>() {};
@SuppressWarnings("unchecked")
final DynamicMap<RestView<DraftResource>> draftViews =
final DynamicMap<RestView<DraftCommentResource>> draftViews =
createMock(DynamicMap.class);
final TypeLiteral<DynamicMap<RestView<DraftResource>>> draftViewsType =
new TypeLiteral<DynamicMap<RestView<DraftResource>>>() {};
final TypeLiteral<DynamicMap<RestView<DraftCommentResource>>> draftViewsType =
new TypeLiteral<DynamicMap<RestView<DraftCommentResource>>>() {};
final AccountLoader.Factory alf =
createMock(AccountLoader.Factory.class);