mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-09-04 16:25:32 +00:00
committed by
Paul Cleary
parent
a634015346
commit
92f6b860f8
@@ -17,7 +17,7 @@
|
||||
package vinyldns.api.domain.batch
|
||||
|
||||
import cats.data.Validated.{Invalid, Valid}
|
||||
import cats.data.{NonEmptyList, _}
|
||||
import cats.data._
|
||||
import cats.implicits._
|
||||
import vinyldns.api.domain.DomainValidationError
|
||||
|
||||
|
@@ -26,7 +26,7 @@ import com.typesafe.config.Config
|
||||
* @param config - [[com.typesafe.config.Config]] that holds the no-op configuration. This is required in order
|
||||
* to dynamically load this Crypto implementation. However, it is not used.
|
||||
*/
|
||||
class NoOpCrypto(config: Config) extends CryptoAlgebra {
|
||||
class NoOpCrypto(val config: Config) extends CryptoAlgebra {
|
||||
def encrypt(value: String): String = value
|
||||
def decrypt(value: String): String = value
|
||||
}
|
||||
|
@@ -16,6 +16,7 @@ object CompilerOptions {
|
||||
"-Xlint:private-shadow", // A private field (or class parameter) shadows a superclass field
|
||||
"-Xlint:type-parameter-shadow", // A local type parameter shadows a type already in scope.
|
||||
"-Xlint:unsound-match", // Pattern match may not be typesafe.
|
||||
"-Xfatal-warnings", // Enable failure of compilation when warnings exist.
|
||||
"-Ypartial-unification", // Enable partial unification in type constructor inference
|
||||
"-Ywarn-dead-code", // Warn when dead code is identified.
|
||||
"-Ywarn-extra-implicit", // Warn when more than one implicit parameter section is defined.
|
||||
|
Reference in New Issue
Block a user