Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

RoundChangeCertificateValidator requires unique authors #989

Merged
merged 7 commits into from
Feb 27, 2019

Conversation

rain-on
Copy link
Contributor

@rain-on rain-on commented Feb 26, 2019

No description provided.

@rain-on rain-on requested review from jframe and CjHare February 26, 2019 23:37
Copy link
Contributor

@jframe jframe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -84,6 +88,18 @@ public boolean validateRoundChangeMessagesAndEnsureTargetRoundMatchesRoot(
return true;
}

private boolean validateDistinctAuthors(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can name this with the negation in the title (negate the need for the bang in the if).

e.g. hasDuplicateAuthors()

@rain-on rain-on merged commit ca28151 into PegaSysEng:master Feb 27, 2019
rain-on added a commit to rain-on/pantheon that referenced this pull request Feb 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants