commit | bd8330b3d9ef13687a4beefd19ef36fe1063e6a8 | [log] [tgz] |
---|---|---|
author | Christian Aistleitner <christian@quelltextlich.at> | Sun Apr 14 18:05:52 2013 +0200 |
committer | Christian Aistleitner <christian@quelltextlich.at> | Mon Apr 15 01:05:43 2013 +0200 |
tree | 40d1710f7c8e5aee2cc0532ae5363808be0a6e1b | |
parent | 68c95c56b8891095bad83b7194921c84388ca8a9 [diff] |
Set visibility of ItsValidateComment's validCommit to private The method is not used publicly, so we set it to private to minimize the interface we have to keep stable. Change-Id: I677c53eeb25792f911c0778cd2cc39ee06067315
diff --git a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/validation/ItsValidateComment.java b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/validation/ItsValidateComment.java index fab325b..984e9e8 100644 --- a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/validation/ItsValidateComment.java +++ b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/validation/ItsValidateComment.java
@@ -53,7 +53,7 @@ @Inject private IssueExtractor issueExtractor; - public List<CommitValidationMessage> validCommit(ReceiveCommand cmd, RevCommit commit) throws CommitValidationException { + private List<CommitValidationMessage> validCommit(ReceiveCommand cmd, RevCommit commit) throws CommitValidationException { List<CommitValidationMessage> ret = Lists.newArrayList(); ItsAssociationPolicy associationPolicy = getItsAssociationPolicy();