(List<CachedProposal> proposals)
| 1722 | } |
| 1723 | |
| 1724 | private List<LeafIndex> applyAdd(List<CachedProposal> proposals) |
| 1725 | { |
| 1726 | List<LeafIndex> locations = new ArrayList<LeafIndex>(); |
| 1727 | for (CachedProposal cached : proposals) |
| 1728 | { |
| 1729 | if (cached.proposal.getProposalType() != ProposalType.ADD) |
| 1730 | { |
| 1731 | continue; |
| 1732 | } |
| 1733 | locations.add(tree.addLeaf(cached.proposal.getLeafNode())); |
| 1734 | } |
| 1735 | return locations; |
| 1736 | } |
| 1737 | |
| 1738 | private void applyRemove(List<CachedProposal> proposals) |
| 1739 | throws Exception |
no test coverage detected