File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
shared/src/main/scala/com/comcast/ip4s Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ package com.comcast.ip4s
2828abstract 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}
You can’t perform that action at this time.
0 commit comments