(List<CachedProposal> proposals)
| 1736 | } |
| 1737 | |
| 1738 | private void applyRemove(List<CachedProposal> proposals) |
| 1739 | throws Exception |
| 1740 | { |
| 1741 | for (CachedProposal cached : proposals) |
| 1742 | { |
| 1743 | if (cached.proposal.getProposalType() != ProposalType.REMOVE) |
| 1744 | { |
| 1745 | continue; |
| 1746 | } |
| 1747 | |
| 1748 | if (!tree.hasLeaf(cached.proposal.getRemove().removed)) |
| 1749 | { |
| 1750 | throw new Exception("Attempt to remove non-member"); |
| 1751 | } |
| 1752 | |
| 1753 | tree.blankPath(cached.proposal.getRemove().removed); |
| 1754 | } |
| 1755 | } |
| 1756 | |
| 1757 | private Group successor() |
| 1758 | throws IOException |
no test coverage detected