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:
exampleparties/anac2019/agentgg
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • exampleparties/anac2019/agentgg/pom.xml

    r23 r24  
    66        <groupId>geniusweb.exampleparties.anac2019</groupId>
    77        <artifactId>agentgg</artifactId>
    8         <version>1.5.2</version> <!-- must equal ${geniusweb.version} -->
     8        <version>1.5.3</version> <!-- must equal ${geniusweb.version} -->
    99        <packaging>jar</packaging>
    1010
     
    1717                <passwd>${env.ARTIFACTORY_PASS}</passwd>
    1818                <jackson-2-version>2.9.6</jackson-2-version>
    19                 <geniusweb.version>1.5.2</geniusweb.version>
     19                <geniusweb.version>1.5.3</geniusweb.version>
    2020        </properties>
    2121
     
    192192                                <groupId>org.apache.maven.plugins</groupId>
    193193                                <artifactId>maven-javadoc-plugin</artifactId>
    194                                 <version>2.10.1</version>
     194                                <version>3.2.0</version>
    195195                                <executions>
    196196                                        <execution>
     
    199199                                                        <goal>jar</goal>
    200200                                                </goals>
    201                                                 <configuration>
    202                                                         <additionalparam>${javadoc.opts}</additionalparam>
    203                                                         <additionalparam>-Xdoclint:none</additionalparam>
    204                                                 </configuration>
    205201                                        </execution>
    206202                                </executions>
  • exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/ImpMap.java

    r19 r24  
    6363         * "weight sum" and "number of times" in the import table.
    6464         *
    65          * @param bids a list of ordered bids, worst bid first, best bid last
     65         * @param bidOrdering a list of ordered bids, worst bid first, best bid last
    6666         */
    6767        public void self_update(List<Bid> bidOrdering) {
     
    116116         * @param bid the bid to get the importance (utility?) of.
    117117         * @return the importance value of bid. Note, this this returns possibly
    118          *         large (>1) values, as the importance is not normalized.
     118         *         large (&gt;1) values, as the importance is not normalized.
    119119         */
    120120        public double getImportance(Bid bid) {
  • exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/SimpleLinearOrdering.java

    r12 r24  
    6767        /**
    6868         *
    69          * @param bid
     69         * @param bid a {@link Bid}
    7070         * @return true iff bid is contained in this ordering
    7171         */
  • exampleparties/anac2019/agentgg/src/test/java/geniusweb/exampleparties/agentgg/AgentGGTest.java

    r21 r24  
    3535import geniusweb.connection.ConnectionEnd;
    3636import geniusweb.inform.ActionDone;
     37import geniusweb.inform.Agreements;
    3738import geniusweb.inform.Finished;
    3839import geniusweb.inform.Inform;
     
    180181                party.connect(connection);
    181182                party.notifyChange(settings);
    182                 party.notifyChange(new Finished(null));
     183
     184                Agreements agreements = mock(Agreements.class);
     185                when(agreements.toString()).thenReturn("agree");
     186                party.notifyChange(new Finished(agreements));
    183187
    184188                verify(reporter).log(eq(Level.INFO),
    185                                 eq("Final ourcome:Finished[null]"));
     189                                eq("Final ourcome:Finished[agree]"));
    186190        }
    187191
Note: See TracChangeset for help on using the changeset viewer.