Skip to content

Commit

Permalink
Bug 575447 Requirement declaration should be able to reference
Browse files Browse the repository at this point in the history
agreements

extend Requirement implementation with optional collection of agreement
files reference

Signed-off-by: eparovyshnaya <[email protected]>
  • Loading branch information
eparovyshnaya committed Aug 17, 2021
1 parent b52eca2 commit 6bf2831
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public interface Requirement {
* agreement content files, that a user must actively accept to be
* allowed to use the feature
*/
List<String> agreement();
List<String> agreements();

/**
* The original physical source under the program installation, where this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public String toString() {
}

@Override
public List<String> agreement() {
public List<String> agreements() {
return agreements;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public RestrictionLevel restrictionLevel() {
}

@Override
public List<String> agreement() {
public List<String> agreements() {
return Collections.emptyList();
}

Expand Down

0 comments on commit 6bf2831

Please sign in to comment.