Skip to content

Commit

Permalink
Merge pull request #54 from http4s/topic/privatize
Browse files Browse the repository at this point in the history
Make some stuff private
  • Loading branch information
armanbilge authored Feb 17, 2022
2 parents 61bf79f + 4885f9a commit e02c3f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crypto/js/src/main/scala/org/http4s/crypto/Priority.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ package org.http4s.crypto
* This type can be useful for problems where multiple algorithms can be used, depending on the
* type classes available.
*/
sealed trait Priority[+P, +F] {
private[http4s] sealed trait Priority[+P, +F] {

import Priority.{Fallback, Preferred}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

package org.http4s.crypto

class GeneralSecurityException(message: String = null, cause: Throwable = null)
private[http4s] class GeneralSecurityException(message: String = null, cause: Throwable = null)
extends Exception(message, cause)

class KeyException(message: String = null, cause: Throwable = null)
private[http4s] class KeyException(message: String = null, cause: Throwable = null)
extends GeneralSecurityException(message, cause)

class InvalidKeyException(message: String = null, cause: Throwable = null)
private[http4s] class InvalidKeyException(message: String = null, cause: Throwable = null)
extends KeyException(message, cause)

0 comments on commit e02c3f6

Please sign in to comment.