Skip to content

Commit

Permalink
Merge pull request #332 from armanbilge/fix/alias-unknown-host-ex
Browse files Browse the repository at this point in the history
Fix `UnknownHostException` alias
  • Loading branch information
mpilquist authored Oct 22, 2021
2 parents c620eaf + 66d2879 commit 0b113c0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/src/main/scala/com/comcast/ip4s/ip4splatform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
* limitations under the License.
*/

package com.comcast
package com.comcast.ip4s

private[comcast] trait ip4splatform
2 changes: 0 additions & 2 deletions jvm/src/main/scala/com/comcast/ip4s/HostPlatform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ package com.comcast.ip4s
import cats.{Applicative, ApplicativeThrow}
import cats.syntax.all._

import java.net.UnknownHostException

private[ip4s] trait HostPlatform { self: Host =>

/** Resolves this host to an ip address using the platform DNS resolver.
Expand Down
2 changes: 1 addition & 1 deletion jvm/src/main/scala/com/comcast/ip4s/ip4splatform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.comcast
package com.comcast.ip4s

private[comcast] trait ip4splatform {
type UnknownHostException = java.net.UnknownHostException
Expand Down

0 comments on commit 0b113c0

Please sign in to comment.