Changeset 24 for voting/src/main/java
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- Location:
- voting/src/main/java/geniusweb/voting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
voting/src/main/java/geniusweb/voting/CollectedVotes.java
r22 r24 176 176 177 177 /** 178 * @param voteList 178 * @param voteList list of all {@link Vote}s 179 179 * @return all parties that did a vote 180 180 */ -
voting/src/main/java/geniusweb/voting/VotingEvaluator.java
r21 r24 16 16 * 17 17 * Implementations should be immutable and not serialize internal variables (eg 18 * 19 * @JsonIgnore them). 18 * @JsonIgnore them). 20 19 */ 21 20 @JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE, isGetterVisibility = Visibility.NONE) -
voting/src/main/java/geniusweb/voting/votingevaluators/LargestAgreementsLoop.java
r21 r24 88 88 } 89 89 90 /** 91 * WARNING you must manually set prime=37 here to fix collision with 92 * {@link LargestAgreement}. 93 */ 90 94 @Override 91 95 public int hashCode() { 92 final int prime = 3 1;96 final int prime = 37; 93 97 int result = 1; 94 98 result = prime * result
Note:
See TracChangeset
for help on using the changeset viewer.