Changeset 19


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

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

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • pom.xml

    r18 r19  
    66        <artifactId>profilesserver</artifactId>
    77        <packaging>war</packaging>
    8         <version>1.5.2</version> <!-- must equal ${geniusweb.version} -->
     8        <version>1.5.3</version> <!-- must equal ${geniusweb.version} -->
    99        <name>profileserver Maven Webapp</name>
    1010        <url>http://maven.apache.org</url>
     
    1818                <jackson-2-version>2.9.10</jackson-2-version>
    1919                <tomcat.version>8.5.20</tomcat.version>
    20                 <geniusweb.version>1.5.2</geniusweb.version>
     20                <geniusweb.version>1.5.3</geniusweb.version>
    2121        </properties>
    2222
     
    307307                                <groupId>org.apache.maven.plugins</groupId>
    308308                                <artifactId>maven-javadoc-plugin</artifactId>
    309                                 <version>2.10.1</version>
     309                                <version>3.2.0</version>
    310310                                <executions>
    311311                                        <execution>
     
    314314                                                        <goal>jar</goal>
    315315                                                </goals>
    316                                                 <configuration>
    317                                                         <additionalparam>${javadoc.opts}</additionalparam>
    318                                                         <additionalparam>-Xdoclint:none</additionalparam>
    319                                                 </configuration>
    320316                                        </execution>
    321317                                </executions>
  • src/main/java/geniusweb/profilesserver/AutoUpdatingProfilesRepository.java

    r16 r19  
    367367         * {@link FileWatcher}.
    368368         *
    369          * @param file
     369         * @param file the file/dir to watch
    370370         * @return a class that watches for file changes below the given file.
    371371         */
     
    380380         * @return the root dir of the repo. This is the 'database' where all known
    381381         *         profiles are stored.
    382          * @throws URISyntaxException
    383382         */
    384383        protected Path getRootDir() {
  • src/main/java/geniusweb/profilesserver/DefaultProfilesRepository.java

    r16 r19  
    3333         * all currently available profiles and domains. Invariant for this class:
    3434         * All {@link Domain}s in this map have a unique name that matches the
    35          * directory name and file name on the file system below {@link #dir}. All
    36          * profile values in the map their {@link Profile#getDomain()} match with
    37          * the domain key in the map.
     35         * directory name and file name on the file system below the given
     36         * directory. All profile values in the map their
     37         * {@link Profile#getDomain()} match with the domain key in the map.
    3838         */
    3939        protected final Map<Domain, List<Profile>> available = new ConcurrentHashMap<>();
  • src/main/java/geniusweb/profilesserver/Jackson.java

    r8 r19  
    99 *
    1010 * <b> This class should is private to the profiles server and should not be
    11  * used by others.
     11 * used by others.</b>
    1212 */
    1313public class Jackson {
  • src/main/java/geniusweb/profilesserver/ProfilesRepository.java

    r16 r19  
    2222
    2323        /**
    24          * @param simple profilename of the form "domainname/profileX" (no
    25          *               extendsions).
    26          * @return profile with the given name and the given domain, or null if no
    27          *         such domain or profile exists.
     24         * @param profilename simple profile name of the form "domainname/profileX"
     25         *                    (no extendsions).
     26         * @return {@link Profile} with the given name and the given domain, or null
     27         *         if no such domain or profile exists.
    2828         *
    2929         */
  • src/main/java/geniusweb/profilesserver/events/ProfileChangeEvent.java

    r1 r19  
    77
    88        /**
    9          *
    10          * @param type the {@link ModificationType} of this event.
    11          *
    12          * @param old  the profile before the change. Null if it was added.
    13          * @param      new the profile after the change. Null if it was removed
     9         * @param oldprof the profile before the change. Null if it was added.
     10         * @param newprof the profile after the change. Null if it was removed
    1411         */
    1512        public ProfileChangeEvent(Profile oldprof, Profile newprof) {
  • src/main/java/geniusweb/profilesserver/websocket/GetProfileSocket.java

    r16 r19  
    4141 *
    4242 * <p>
    43  * Query string: the websocket allows query strings.
    44  * <ul>
    45  * <li>partial</li> a query key that is assigned a natural number N (0 or
    46  * larger). If set, the profile is converted into a Partial Profile with the
    47  * given number of points. If N>0, the maximum utility bid is included .If N>1,
    48  * the minimum utility bid is included. The other bids are picked at random.
    49  * This filtering mechanism only works if the profile is {@link LinearAdditive}
    50  * space. The reservation bid is passed through unmodified.
     43 * Query strings: the websocket allows query strings. Allowed:
     44 * <table>
     45 * <caption>Query strings for GetprofileSocket</caption>
     46 * <tr>
     47 * <th>query name</th>
     48 * <th>description</th>
     49 * </tr>
     50 * <tr>
     51 * <td>partial=N</td>
     52 * <td>a query key that is assigned a natural number N (0 or larger). If set,
     53 * the profile is converted into a Partial Profile with the given number of
     54 * points. If N&gt;0, the maximum utility bid is included .If N&gt;1, the
     55 * minimum utility bid is included. The other bids are picked at random. This
     56 * filtering mechanism only works if the profile is {@link LinearAdditive}
     57 * space. The reservation bid is passed through unmodified.</td>
     58 * </tr>
     59 * </table>
    5160 */
    5261@ServerEndpoint("/websocket/get/{domain}/{profile}")
Note: See TracChangeset for help on using the changeset viewer.