diff --git a/src/main/scala/com/amazon/deequ/suggestions/ConstraintSuggestion.scala b/src/main/scala/com/amazon/deequ/suggestions/ConstraintSuggestion.scala index 57ac9aea..96b7ab9b 100644 --- a/src/main/scala/com/amazon/deequ/suggestions/ConstraintSuggestion.scala +++ b/src/main/scala/com/amazon/deequ/suggestions/ConstraintSuggestion.scala @@ -52,7 +52,7 @@ case class ConstraintSuggestionWithValue[T]( object ConstraintSuggestions { - private[this] val CONSTRANT_SUGGESTIONS_FIELD = "constraint_suggestions" + private[this] val CONSTRAINT_SUGGESTIONS_FIELD = "constraint_suggestions" private[suggestions] def toJson(constraintSuggestions: Seq[ConstraintSuggestion]): String = { @@ -68,7 +68,7 @@ object ConstraintSuggestions { constraintsJson.add(constraintJson) } - json.add(CONSTRANT_SUGGESTIONS_FIELD, constraintsJson) + json.add(CONSTRAINT_SUGGESTIONS_FIELD, constraintsJson) val gson = new GsonBuilder() .setPrettyPrinting() @@ -109,7 +109,7 @@ object ConstraintSuggestions { constraintEvaluations.add(constraintEvaluation) } - json.add(CONSTRANT_SUGGESTIONS_FIELD, constraintEvaluations) + json.add(CONSTRAINT_SUGGESTIONS_FIELD, constraintEvaluations) val gson = new GsonBuilder() .setPrettyPrinting()