diff --git a/packaging/tests/tas-restapi/src/test/java/org/alfresco/rest/rules/RuleSetLinksTests.java b/packaging/tests/tas-restapi/src/test/java/org/alfresco/rest/rules/RuleSetLinksTests.java index d02bb575a1..85c666a892 100644 --- a/packaging/tests/tas-restapi/src/test/java/org/alfresco/rest/rules/RuleSetLinksTests.java +++ b/packaging/tests/tas-restapi/src/test/java/org/alfresco/rest/rules/RuleSetLinksTests.java @@ -234,7 +234,7 @@ public class RuleSetLinksTests extends RestTest STEP("Assert link result is 400"); restClient.assertStatusCodeIs(BAD_REQUEST) .assertLastError().containsSummary( - "Unable to link to a ruleset because the folder has pre-existing rules or is already linked to a ruleset."); + "Unable to link to a rule set because the folder has pre-existing rules or is already linked to a rule set."); } /** diff --git a/remote-api/src/main/java/org/alfresco/rest/api/impl/rules/RuleSetsImpl.java b/remote-api/src/main/java/org/alfresco/rest/api/impl/rules/RuleSetsImpl.java index 55ccf5a1ea..a2ebeb8061 100644 --- a/remote-api/src/main/java/org/alfresco/rest/api/impl/rules/RuleSetsImpl.java +++ b/remote-api/src/main/java/org/alfresco/rest/api/impl/rules/RuleSetsImpl.java @@ -96,7 +96,7 @@ public class RuleSetsImpl implements RuleSets //The folder shouldn't have any pre-existing rules if (ruleService.hasRules(folderNodeRef)) { - throw new InvalidArgumentException("Unable to link to a ruleset because the folder has pre-existing rules or is already linked to a ruleset."); + throw new InvalidArgumentException("Unable to link to a rule set because the folder has pre-existing rules or is already linked to a rule set."); } // Create the destination folder as a secondary child of the first diff --git a/remote-api/src/main/java/org/alfresco/rest/api/model/rules/RuleSetLink.java b/remote-api/src/main/java/org/alfresco/rest/api/model/rules/RuleSetLink.java index bd1e5edb92..293417529f 100644 --- a/remote-api/src/main/java/org/alfresco/rest/api/model/rules/RuleSetLink.java +++ b/remote-api/src/main/java/org/alfresco/rest/api/model/rules/RuleSetLink.java @@ -30,7 +30,7 @@ public class RuleSetLink { /** - * This id is referring to the node id of the linked-to-folder which contains the ruleset(s) + * This id is referring to the node id of the linked-to-folder which contains the rule set(s) */ private String id;