Use gerrit's spelling of 'Patch Set' for ITS comments ITS comments for new patch sets use 'Patch-Set' (with dash), while upstream gerrit uses 'Patch Set' (without dash). We also drop the dash in ITS comments to match gerrit's spelling. Change-Id: I57e53dfccacbcc1885a96663a91dd9dcecac08ee
diff --git a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java index a404fea..0d1e5c1 100644 --- a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java +++ b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java
@@ -53,7 +53,7 @@ for (String issue : issues) { its.addRelatedLink(issue, new URL(patchsetCreated.change.url), - "Gerrit Patch-Set " + patchsetCreated.change.id + "/" + "Gerrit Patch Set " + patchsetCreated.change.id + "/" + patchsetCreated.patchSet.number); } }