Skip to content

Commit

Permalink
Merge pull request #354 from wttech/feature/install-cloud-mode
Browse files Browse the repository at this point in the history
fixed typos
  • Loading branch information
dprzybyl authored May 18, 2022
2 parents 11652bd + a17d4df commit b951af4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class AllowMapper {
@Mapping(
examples = {
"ALLOW '/content/dam' [READ]",
"ALLOW '/content/dam' properties= ['jcr:title'] [MODIFY]",
"ALLOW '/content/dam' types= ['nt:folder'] [MODIFY]",
"ALLOW '/content/dam' properties=['jcr:title'] [MODIFY]",
"ALLOW '/content/dam' types=['nt:folder'] [MODIFY]",
"ALLOW '/content/dam/domain' [READ, MODIFY] --IF-EXISTS"
},
reference = REFERENCE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class DenyMapper {
@Mapping(
examples = {
"DENY '/content/dam' [READ]",
"DENY '/content/dam' properties= ['jcr:title'] [MODIFY]",
"DENY '/content/dam' types= ['nt:folder'] [MODIFY]",
"DENY '/content/dam' properties=['jcr:title'] [MODIFY]",
"DENY '/content/dam' types=['nt:folder'] [MODIFY]",
"DENY '/content/dam/domain' [READ, MODIFY] --IF-EXISTS"
},
reference = REFERENCE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private List<String> toParameters(Arguments arguments) {
}
final List<String> parameters = new ArrayList<>();
arguments.getRequired().forEach(it -> parameters.add(it.toString()));
arguments.getNamed().forEach((key, value) -> parameters.add(format("%s= %s", key, value)));
arguments.getNamed().forEach((key, value) -> parameters.add(format("%s=%s", key, value)));
arguments.getFlags().forEach(it -> parameters.add(format("--%s", it)));
return parameters;
}
Expand Down

0 comments on commit b951af4

Please sign in to comment.