mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
code review comments
This commit is contained in:
@@ -145,7 +145,7 @@ public class RuleDefinition
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Boolean isCreateRecordPath()
|
public Boolean getCreateRecordPath()
|
||||||
{
|
{
|
||||||
return createRecordPath;
|
return createRecordPath;
|
||||||
}
|
}
|
||||||
|
@@ -257,9 +257,9 @@ public class RulesAPI extends BaseAPI
|
|||||||
JSONObject parameters = new JSONObject();
|
JSONObject parameters = new JSONObject();
|
||||||
if (ruleProperties.getPath() != null)
|
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());
|
parameters.put("path", ruleProperties.getPath());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user