Skip to content

Commit 280f3c3

Browse files
committed
Scalafmt
1 parent 3751623 commit 280f3c3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

shared/src/main/scala/com/comcast/ip4s/GenSocketAddress.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ package com.comcast.ip4s
2828
abstract class GenSocketAddress private[ip4s] () {
2929

3030
/** Downcasts this address to a `SocketAddress[IpAddress]`.
31-
*
32-
* @throws UnsupportedOperationException if this address is not a `SocketAddress[IpAddress]`
33-
*/
31+
*
32+
* @throws UnsupportedOperationException if this address is not a `SocketAddress[IpAddress]`
33+
*/
3434
def asIpUnsafe: SocketAddress[IpAddress] = this match {
3535
case addr @ SocketAddress(_: IpAddress, _) => addr.asInstanceOf[SocketAddress[IpAddress]]
36-
case other => throw new UnsupportedOperationException(s"asIpUnsafe only supported on SocketAddress[IpAddress]: $other")
36+
case other =>
37+
throw new UnsupportedOperationException(s"asIpUnsafe only supported on SocketAddress[IpAddress]: $other")
3738
}
3839
}

0 commit comments

Comments
 (0)