From f22d798ff90dc3c9871796c02e2184cebccf584d Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 9 Sep 2024 08:58:46 +0200 Subject: [PATCH] Updated EvalEx methods --- app/src/main/java/eu/faircode/email/ExpressionHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ExpressionHelper.java b/app/src/main/java/eu/faircode/email/ExpressionHelper.java index 0c8d116ef3..f0da6feb5d 100644 --- a/app/src/main/java/eu/faircode/email/ExpressionHelper.java +++ b/app/src/main/java/eu/faircode/email/ExpressionHelper.java @@ -211,7 +211,7 @@ public class ExpressionHelper { } Log.i("EXPR header(" + parameterValues[0] + ")=" + TextUtils.join(", ", result)); - return new EvaluationValue(result, ExpressionConfiguration.defaultConfiguration()); + return EvaluationValue.of(result, ExpressionConfiguration.defaultConfiguration()); } } @@ -244,7 +244,7 @@ public class ExpressionHelper { } Log.i("EXPR message(" + parameterValues[0] + ")=" + TextUtils.join(", ", result)); - return new EvaluationValue(result, ExpressionConfiguration.defaultConfiguration()); + return EvaluationValue.of(result, ExpressionConfiguration.defaultConfiguration()); } } @@ -374,7 +374,7 @@ public class ExpressionHelper { } Log.i("EXPR jsoup(" + parameterValues[0] + ")=" + TextUtils.join(", ", result)); - return new EvaluationValue(result, ExpressionConfiguration.defaultConfiguration()); + return EvaluationValue.of(result, ExpressionConfiguration.defaultConfiguration()); } }