Minor grammar/language change in the errors for filtering library (#7779)

This commit is contained in:
Trisha Anand 2021-09-23 23:56:20 +05:30 committed by GitHub
parent fd45bb44e9
commit a2e68c9724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ public class FilterDataService {
valueBuilder.append(finalValues);
} catch (IOException e) {
throw new AppsmithPluginException(AppsmithPluginError.PLUGIN_EXECUTE_ARGUMENT_ERROR,
value + " could not parsed into an array");
value + " could not be parsed into an array");
}
valueBuilder.append(")");
@ -563,8 +563,8 @@ public class FilterDataService {
.map(condition -> {
if (!Condition.isValid(condition)) {
throw new AppsmithPluginException(AppsmithPluginError.PLUGIN_EXECUTE_ARGUMENT_ERROR,
"Condition for filtering was incomplete or incorrect : " + condition.getPath() +
condition.getOperator().toString() + condition.getValue());
"Condition \" " + condition.getPath() + " " + condition.getOperator().toString() + " "
+ condition.getValue() + " \" is incorrect and could not be parsed.");
}
String path = condition.getPath();