ACS-3485: Change naming (#1372)

This commit is contained in:
George Evangelopoulos
2022-09-12 18:33:24 +01:00
committed by GitHub
parent 6e5d37067d
commit fa04a7264f
3 changed files with 3 additions and 3 deletions

View File

@@ -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.");
}
/**

View File

@@ -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

View File

@@ -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;