Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe committed Mar 26, 2018
1 parent 9a92ec3 commit 4794e28
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gitbucket.notifications.controller

import gitbucket.core.controller.ControllerBase
import gitbucket.core.service.{AccountService, IssuesService, RepositoryService}
import gitbucket.core.service._
import gitbucket.core.util.Implicits._
import gitbucket.core.util.{OneselfAuthenticator, ReadableUsersAuthenticator}
import gitbucket.core.util.SyntaxSugars._
Expand All @@ -10,7 +10,8 @@ import gitbucket.notifications.service.NotificationsService
import org.scalatra.Ok

class NotificationsController extends NotificationsControllerBase
with NotificationsService with RepositoryService with AccountService with IssuesService
with NotificationsService with RepositoryService with AccountService
with IssuesService with LabelsService with PrioritiesService with MilestonesService
with ReadableUsersAuthenticator with OneselfAuthenticator

trait NotificationsControllerBase extends ControllerBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ class IssueHook extends gitbucket.core.plugin.IssueHook
with NotificationsService
with RepositoryService
with AccountService
with IssuesService {
with IssuesService
with LabelsService
with PrioritiesService
with MilestonesService {

private val logger = LoggerFactory.getLogger(classOf[IssueHook])

Expand Down
5 changes: 3 additions & 2 deletions src/main/scala/gitbucket/notifications/view/helpers.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package gitbucket.notifications.view

import gitbucket.core.service.{AccountService, IssuesService, RepositoryService}
import gitbucket.core.service._
import gitbucket.notifications.service.NotificationsService


object helpers extends NotificationsService with RepositoryService with AccountService with IssuesService
object helpers extends NotificationsService with RepositoryService with AccountService
with IssuesService with LabelsService with PrioritiesService with MilestonesService

0 comments on commit 4794e28

Please sign in to comment.