Skip to content

Commit

Permalink
Eliminated long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 23, 2025
1 parent 3d97393 commit 217695d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/core/aviation.TzdbError.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ object TzdbError:
case Reason.BadZoneInfo(line) => m"bad zone information: ${line.join(t"[", t" ", t"]")}"
case Reason.BadName(name) => m"the name $name is not valid"
case Reason.UnparsableDate => m"the date could not be parsed"
case Reason.ZoneFileMissing(name) => m"the zone file $name could not be found on the classpath"

case Reason.ZoneFileMissing(name) =>
m"the zone file $name could not be found on the classpath"

enum Reason:
case CouldNotParseTime(time: Text)
Expand Down
3 changes: 2 additions & 1 deletion src/core/aviation.YearMonth.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ object YearMonth:
type Operand = Int

def subtract(yearMonth: YearMonth, day: Int): Date =
safely(calendars.gregorian.julianDay(yearMonth.year, yearMonth.month, day)).vouch(using Unsafe)
safely(calendars.gregorian.julianDay(yearMonth.year, yearMonth.month, day))
. vouch(using Unsafe)

0 comments on commit 217695d

Please sign in to comment.