Removed empty lines from the source files

This commit is contained in:
Eugene Zadyra
2018-06-06 15:33:21 +02:00
parent e97b86ba91
commit 89236b0f3a
20 changed files with 34 additions and 162 deletions

View File

@@ -92,13 +92,4 @@ object Auth {
def props(source: MessageSource, dataService: DataService, unauthorizedHelpActorFactory: ByMessageSourceActorFactory,
loginActorFactory: ByMessageSourceWithOriginatorActorFactory, chatActorFactory: ByUserIdActorFactory): Props =
Props(new Auth(source, dataService, unauthorizedHelpActorFactory, loginActorFactory, chatActorFactory))
}
}

View File

@@ -117,19 +117,4 @@ object Bug {
val ListSubmitted = "list"
}
}
}

View File

@@ -186,11 +186,4 @@ object Chat {
val MonitoringId: Regex = s"/reserve_(\\d+)_(\\d+)_(\\d+)".r
}
}

View File

@@ -98,12 +98,12 @@ class DatePicker(val userId: UserId, val bot: Bot, val localization: Localizatio
private def modifyDate(date: ZonedDateTime, tag: String) = {
val dateModifier = tag match {
case Tags.DayUp => date.plusDays _
case Tags.MonthUp => date.plusMonths _
case Tags.YearUp => date.plusYears _
case Tags.DayDown => date.minusDays _
case Tags.MonthDown => date.minusMonths _
case Tags.YearDown => date.minusYears _
case Tags.DayInc => date.plusDays _
case Tags.MonthInc => date.plusMonths _
case Tags.YearInc => date.plusYears _
case Tags.DayDec => date.minusDays _
case Tags.MonthDec => date.minusMonths _
case Tags.YearDec => date.minusYears _
}
dateModifier(1)
}
@@ -115,9 +115,9 @@ class DatePicker(val userId: UserId, val bot: Bot, val localization: Localizatio
val year = date.getYear.toString
createInlineKeyboard(Seq(
Seq(Button("⬆", Tags.DayUp), Button("⬆", Tags.MonthUp), Button("⬆", Tags.YearUp)),
Seq(Button("⬆", Tags.DayInc), Button("⬆", Tags.MonthInc), Button("⬆", Tags.YearInc)),
Seq(Button(s"$day ($dayOfWeek)"), Button(month), Button(year)),
Seq(Button("⬇", Tags.DayDown), Button("⬇", Tags.MonthDown), Button("⬇", Tags.YearDown)),
Seq(Button("⬇", Tags.DayDec), Button("⬇", Tags.MonthDec), Button("⬇", Tags.YearDec)),
Seq(Button("Done", Tags.Done))
))
}
@@ -140,16 +140,13 @@ object DatePicker {
object DateToMode extends Mode
object Tags {
val DayUp = "day_up"
val MonthUp = "month_up"
val YearUp = "year_up"
val DayDown = "day_down"
val MonthDown = "month_down"
val YearDown = "year_down"
val DayInc = "day_inc"
val MonthInc = "month_inc"
val YearInc = "year_inc"
val DayDec = "day_dec"
val MonthDec = "month_dec"
val YearDec = "year_dec"
val Done = "done"
}
}
}

View File

@@ -38,13 +38,4 @@ class Help(val userId: UserId, bot: Bot, val localization: Localization) extends
object Help {
def props(userId: UserId, bot: Bot, localization: Localization): Props = Props(new Help(userId, bot, localization))
}
}

View File

@@ -81,17 +81,4 @@ object History {
object AwaitPage extends FSMState
}
}

View File

@@ -123,4 +123,4 @@ object Login {
case class LoggedIn(forwardCommand: ForwardCommand, userId: Long)
}
}

View File

@@ -99,15 +99,4 @@ object Monitorings {
val No = "no"
}
}
}

View File

@@ -127,6 +127,4 @@ object Pager {
val Next = "next"
}
}
}

View File

@@ -67,4 +67,4 @@ class Pagers(val userId: UserId, bot: Bot, val localization: Localization) exten
object Pagers {
def apply(userId: UserId, bot: Bot, localization: Localization) = new Pagers(userId, bot, localization)
}
}

View File

@@ -82,4 +82,4 @@ object Router {
case class DestroyChat(source: MessageSource)
}
}

View File

@@ -81,23 +81,4 @@ object Settings {
val Language = "language"
}
}
}

View File

@@ -125,9 +125,4 @@ object StaticData {
case class FoundOptions(option: Either[Throwable, List[IdName]])
}
}

View File

@@ -37,14 +37,4 @@ class UnauthorizedHelp(source: MessageSource, bot: Bot) extends Actor {
object UnauthorizedHelp {
def props(source: MessageSource, bot: Bot): Props = Props(new UnauthorizedHelp(source, bot))
}
}

View File

@@ -103,17 +103,4 @@ object Visits {
val No = "no"
}
}
}

View File

@@ -63,6 +63,4 @@ object Bug {
bug.submitted = submitted
bug
}
}
}

View File

@@ -58,4 +58,4 @@ object CityHistory {
city.time = time
city
}
}
}

View File

@@ -127,6 +127,4 @@ object Monitoring {
monitoring.active = active
monitoring
}
}
}

View File

@@ -46,10 +46,4 @@ object Settings {
settings.lang = lang
settings
}
}
}

View File

@@ -51,6 +51,4 @@ object Source {
source.userId = userId
source
}
}
}