Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pedorich-n committed Jul 4, 2022
1 parent 96a4b8c commit 54bce29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ private[compat] trait PackageShared {
self: IterableView[(K, V), C]): MapViewExtensionMethods[K, V, C] =
new MapViewExtensionMethods[K, V, C](self)


implicit def toOptionCompanionExtension(self: Option.type): OptionCompanionExtensionMethods = new OptionCompanionExtensionMethods(self)
implicit def toOptionCompanionExtension(self: Option.type): OptionCompanionExtensionMethods =
new OptionCompanionExtensionMethods(self)
}

class ImmutableSortedMapExtensions(private val fact: i.SortedMap.type) extends AnyVal {
Expand Down Expand Up @@ -595,4 +595,4 @@ class OptionCompanionExtensionMethods(private val self: Option.type) extends Any
def when[A](cond: Boolean)(a: => A): Option[A] = if (cond) Some(a) else None

@inline def unless[A](cond: Boolean)(a: => A): Option[A] = when(!cond)(a)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.junit.Assert._

class OptionTest {

private val value: String = "example"
private val value: String = "example"
private val some: Option[String] = Some(value)
private val none: Option[String] = None

Expand Down

0 comments on commit 54bce29

Please sign in to comment.