code review comments

This commit is contained in:
Claudia Agache
2020-06-22 14:43:16 +03:00
parent 253f30e7f3
commit ff97f98c7b
2 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ public class RuleDefinition
return this;
}
public Boolean isCreateRecordPath()
public Boolean getCreateRecordPath()
{
return createRecordPath;
}

View File

@@ -257,9 +257,9 @@ public class RulesAPI extends BaseAPI
JSONObject parameters = new JSONObject();
if (ruleProperties.getPath() != null)
{
if(ruleProperties.isCreateRecordPath() != null)
if(ruleProperties.getCreateRecordPath() != null)
{
parameters.put("createRecordPath", ruleProperties.isCreateRecordPath());
parameters.put("createRecordPath", ruleProperties.getCreateRecordPath());
}
parameters.put("path", ruleProperties.getPath());
}