From d495234e4cf2c36e8ca220f156bc21e3f57a3bac Mon Sep 17 00:00:00 2001 From: bojackli <478378663@qq.com> Date: Thu, 29 Aug 2024 22:52:25 +0800 Subject: [PATCH] fix typo (#574) --- .../com/amazon/deequ/suggestions/ConstraintSuggestion.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/scala/com/amazon/deequ/suggestions/ConstraintSuggestion.scala b/src/main/scala/com/amazon/deequ/suggestions/ConstraintSuggestion.scala index 57ac9aeaa..96b7ab9b2 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()