Changeset 18129 in josm


Ignore:
Timestamp:
2021-08-09T21:03:05+02:00 (4 months ago)
Author:
Don-vip
Message:

tools update: checkstyle 8.44, spotbugs 4.2.3, proguard 7.1.1, error-prone 2.8.1

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java

    r17896 r18129  
    582582        private static Map<Modifier, Boolean> createFromString(String string) {
    583583            Map<Modifier, Boolean> ret = new EnumMap<>(Modifier.class);
    584             for (char c : string.toCharArray()) {
     584            for (int i = 0; i < string.length(); i++) {
     585                char c = string.charAt(i);
    585586                if (c == '?') {
    586587                    continue;
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetListener.java

    r10590 r18129  
    44/**
    55 * Notification of tagging presets events.
     6 * @see TaggingPresets#addListener(TaggingPresetListener)
    67 * @since 7100
    7  * @see TaggingPresets#addListener(TaggingPresetListener)
    88 */
    99@FunctionalInterface
  • trunk/src/org/openstreetmap/josm/io/MultiFetchServerObjectReader.java

    r17654 r18129  
    373373     * found on  the server (the server response code was 404)
    374374     *
     375     * @param progressMonitor progress monitor
    375376     * @return the parsed data
    376      * @param progressMonitor progress monitor
    377377     * @throws OsmTransferException if an error occurs while communicating with the API server
    378378     * @see #getMissingPrimitives()
  • trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java

    r16887 r18129  
    174174        int zoomOffset = 0;
    175175
    176         for (final char ch : shortLink.toCharArray()) {
     176        for (int j = 0; j < shortLink.length(); j++) {
     177            char ch = shortLink.charAt(j);
    177178            if (array.containsKey(ch)) {
    178179                int val = array.get(ch);
  • trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandlerTest.java

    r18037 r18129  
    99import java.util.Map;
    1010
     11import org.junit.jupiter.api.Test;
    1112import org.openstreetmap.josm.io.remotecontrol.PermissionPrefWithDefault;
    1213import org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler.RequestHandlerBadRequestException;
    13 
    14 import org.junit.jupiter.api.Test;
    1514
    1615/**
     
    8180    /**
    8281     * Test request parameter - case 4
    83      * @see <a href="http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about-url-encoding">
     82     * @throws RequestHandlerBadRequestException never
     83     * @see <a href="https://www.talisman.org/~erlkonig/misc/lunatech%5Ewhat-every-webdev-must-know-about-url-encoding/">
    8484     *      What every web developer must know about URL encoding</a>
    85      * @throws RequestHandlerBadRequestException never
    8685     */
    8786    @Test
  • trunk/tools/checkstyle/META-INF/MANIFEST.MF

    r18051 r18129  
    33Bundle-Name: JOSM Checkstyle Eclipse Plugin
    44Bundle-SymbolicName: org.openstreetmap.josm.checkstyle-eclipse-plugin;singleton:=true
    5 Bundle-Version: 8.43.0.qualifier
     5Bundle-Version: 8.44.0.qualifier
    66Require-Bundle: net.sf.eclipsecs.checkstyle,
    77 net.sf.eclipsecs.core,
  • trunk/tools/ivy.xml

    r18072 r18129  
    1717        <dependency org="net.java.dev.javacc" name="javacc" rev="7.0.10" conf="javacc->default"/>
    1818        <!-- checkstyle->default -->
    19         <dependency org="com.puppycrawl.tools" name="checkstyle" rev="8.43" conf="checkstyle->default"/>
     19        <dependency org="com.puppycrawl.tools" name="checkstyle" rev="8.44" conf="checkstyle->default"/>
    2020        <!-- proguard->default -->
    21         <dependency org="com.guardsquare" name="proguard-ant" rev="7.1.0" conf="proguard->default"/>
     21        <dependency org="com.guardsquare" name="proguard-ant" rev="7.1.1" conf="proguard->default"/>
    2222        <!-- pmd->default -->
    2323        <dependency org="net.sourceforge.pmd" name="pmd-core" rev="6.20.0" conf="pmd->default"/>
     
    2828        </dependency>
    2929        <!-- spotbugs->default -->
    30         <dependency org="com.github.spotbugs" name="spotbugs" rev="4.2.1" conf="spotbugs->default"/>
    31         <dependency org="com.github.spotbugs" name="spotbugs-ant" rev="4.2.1" conf="spotbugs->default"/>
     30        <dependency org="com.github.spotbugs" name="spotbugs" rev="4.2.3" conf="spotbugs->default"/>
     31        <dependency org="com.github.spotbugs" name="spotbugs-ant" rev="4.2.3" conf="spotbugs->default"/>
    3232        <!-- errorprone->default -->
    33         <dependency org="com.google.errorprone" name="error_prone_core" rev="2.7.1" conf="errorprone->default"/>
     33        <dependency org="com.google.errorprone" name="error_prone_core" rev="2.8.1" conf="errorprone->default"/>
    3434        <!-- errorprone->default -->
    3535        <dependency org="com.google.errorprone" name="javac" rev="9+181-r4173-1" conf="errorprone_javac->default"/>
Note: See TracChangeset for help on using the changeset viewer.