Skip to content

Commit 74b7b32

Browse files
lbarjakmagwas
authored andcommitted
removed throws declaration
1 parent 98514aa commit 74b7b32

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/org/rulez/demokracia/pdengine/VoteRegistry.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public JSONObject showVote(final VoteAdminInfo adminInfo) {
132132
return vote.toJson(adminInfo.voteId);
133133
}
134134

135-
private void checkAssurances(final Vote vote) throws ReportedException {
135+
private void checkAssurances(final Vote vote) {
136136

137137
for(String assurance : vote.countedAssurances)
138138
if (!this.hasAssurance(assurance))
@@ -187,3 +187,4 @@ public void setVoteParameters(final VoteAdminInfo adminInfo, final VoteParameter
187187
throw new ReportedException("Illegal minEndorsements", Integer.toString(voteParameters.minEndorsements));
188188
}
189189
}
190+

src/test/java/org/rulez/demokracia/pdengine/ForShowVoteTheUserNeedsACountedAssurance.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ private void assertAssurancesMissing(final Vote vote) {
5353
() -> voteManager.showVote(aminInfo)
5454
).assertMessageIs("missing assurances");
5555
}
56-
}
56+
}

0 commit comments

Comments
 (0)