Skip to content

Commit

Permalink
codeNarc: Fix parameterCount warning
Browse files Browse the repository at this point in the history
THIS IS AN UNRELATED CHANGE

It fixes:

```
Number of parameters in constructor of class org.ods.orchestration.util.DocumentHistoryEntry exceeds maximum allowed (5).
```
  • Loading branch information
serverhorror committed Jul 24, 2023
1 parent f76dfba commit 86e1d58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/ods/orchestration/util/DocumentHistoryEntry.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class DocumentHistoryEntry implements Map, Serializable {
private final String docVersion
String rational

@SuppressWarnings('ParameterCount')
DocumentHistoryEntry(Map map, Long entryId, String projectVersion,
String previousProjectVersion, String docVersion, String rational) {
def delegate = (Map) map.clone()
Expand Down

0 comments on commit 86e1d58

Please sign in to comment.