Changeset 24 for voting/src/main


Ignore:
Timestamp:
10/06/20 13:12:20 (4 years ago)
Author:
bart
Message:

Fixes an issue with processing maxPower of a vote. Javadoc maven plugin now uses latest version.

Location:
voting/src/main/java/geniusweb/voting
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • voting/src/main/java/geniusweb/voting/CollectedVotes.java

    r22 r24  
    176176
    177177        /**
    178          * @param voteList
     178         * @param voteList list of all {@link Vote}s
    179179         * @return all parties that did a vote
    180180         */
  • voting/src/main/java/geniusweb/voting/VotingEvaluator.java

    r21 r24  
    1616 *
    1717 * Implementations should be immutable and not serialize internal variables (eg
    18  *
    19  * @JsonIgnore them).
     18 * @JsonIgnore them).
    2019 */
    2120@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE, isGetterVisibility = Visibility.NONE)
  • voting/src/main/java/geniusweb/voting/votingevaluators/LargestAgreementsLoop.java

    r21 r24  
    8888        }
    8989
     90        /**
     91         * WARNING you must manually set prime=37 here to fix collision with
     92         * {@link LargestAgreement}.
     93         */
    9094        @Override
    9195        public int hashCode() {
    92                 final int prime = 31;
     96                final int prime = 37;
    9397                int result = 1;
    9498                result = prime * result
Note: See TracChangeset for help on using the changeset viewer.