Skip to content

Commit 2218271

Browse files
committed
Fix warnings
1 parent a5f6868 commit 2218271

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/scala/gitbucket/notifications/model/IssueNotification.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ trait IssueNotificationComponent { self: gitbucket.core.model.Profile =>
1111
val issueId = column[Int]("ISSUE_ID")
1212
val notificationUserName = column[String]("NOTIFICATION_USER_NAME")
1313
val subscribed = column[Boolean]("SUBSCRIBED")
14-
def * = (userName, repositoryName, issueId, notificationUserName, subscribed) <> (IssueNotification.tupled, IssueNotification.unapply)
14+
def * = (userName, repositoryName, issueId, notificationUserName, subscribed).<>(IssueNotification.tupled, IssueNotification.unapply)
1515
}
1616
}
1717

src/main/scala/gitbucket/notifications/model/NotificationsAccount.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trait NotificationsAccountComponent { self: gitbucket.core.model.Profile =>
88
class NotificationsAccounts(tag: Tag) extends Table[NotificationsAccount](tag, "NOTIFICATIONS_ACCOUNT") {
99
val userName = column[String]("USER_NAME")
1010
val disableEmail = column[Boolean]("DISABLE_EMAIL")
11-
def * = (userName, disableEmail) <> (NotificationsAccount.tupled, NotificationsAccount.unapply)
11+
def * = (userName, disableEmail).<>(NotificationsAccount.tupled, NotificationsAccount.unapply)
1212
}
1313
}
1414

src/main/scala/gitbucket/notifications/model/Watch.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trait WatchComponent { self: gitbucket.core.model.Profile =>
1212
val repositoryName = column[String]("REPOSITORY_NAME")
1313
val notificationUserName = column[String]("NOTIFICATION_USER_NAME")
1414
val notification = column[Watch.Notification]("NOTIFICATION")
15-
def * = (userName, repositoryName, notificationUserName, notification) <> ((Watch.apply _).tupled, Watch.unapply)
15+
def * = (userName, repositoryName, notificationUserName, notification).<>((Watch.apply _).tupled, Watch.unapply)
1616
}
1717
}
1818

0 commit comments

Comments
 (0)