Changeset 32579 in osm for applications


Ignore:
Timestamp:
2016-07-05T14:49:03+02:00 (9 years ago)
Author:
floscher
Message:

[mapillary] Update PMD to 5.5.0 and also check naming rules

Location:
applications/editors/josm/plugins/mapillary
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/.settings/pmd-ruleset.xml

    r32063 r32579  
    3131  <rule ref="rulesets/java/finalizers.xml"/>
    3232  <rule ref="rulesets/java/imports.xml"/>
     33  <rule ref="rulesets/java/naming.xml">
     34    <exclude name="ShortVariable"/>
     35    <exclude name="LongVariable"/>
     36    <exclude name="AbstractNaming"/>
     37  </rule>
    3338  <rule ref="rulesets/java/optimizations.xml">
    3439    <exclude name="LocalVariableCouldBeFinal" />
  • applications/editors/josm/plugins/mapillary/build.gradle

    r32403 r32579  
    3232  // The JOSM-version can be specified as "latest", "tested" or the numeric version number.
    3333  // When using a numeric version number you can leave out {changing=true}.
    34   compile(':josm:10377')
     34  compile(':josm:10485')
    3535  // For plugins it's irrelevant, which version is specified, always the latest version is used.
    3636  compile (name: 'apache-commons'){changing=true}
     
    8080  toolVersion project.property('tools.pmd.version')
    8181  ignoreFailures true
    82   targetJdk 1.7 // 1.8 is not yet available
     82  targetJdk 1.7 // 1.8 is not yet available (as of Gradle 2.14, see https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/quality/TargetJdk.html)
    8383  ruleSetConfig = resources.text.fromFile('.settings/pmd-ruleset.xml')
    8484}
  • applications/editors/josm/plugins/mapillary/gradle.properties

    r32396 r32579  
    1212#plugin.stage=...
    1313
    14 tools.pmd.version=5.4.2
     14tools.pmd.version=5.5.0
    1515tools.findbugs.version=3.0.1
    1616tools.jacoco.version=0.7.7.201606060606
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryPreferenceSetting.java

    r32378 r32579  
    168168  }
    169169
     170  @SuppressWarnings("PMD.ShortMethodName")
    170171  @Override
    171172  public boolean ok() {
Note: See TracChangeset for help on using the changeset viewer.