Changeset 11675 in josm


Ignore:
Timestamp:
2017-03-05T00:31:00+01:00 (9 months ago)
Author:
Don-vip
Message:

update to error_prone 2.0.18

Location:
trunk
Files:
1 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r11660 r11675  
    123123                            problems in source code); can be launched as an ant target in build.xml
    124124    - commons-cli-1.3.1.jar dependency of Groovy Ant task
    125     - error_prone_ant-2.0.15.jar
     125    - error_prone_ant-2.0.18.jar
    126126                            used to detect code errors during compilation
    127127    - findbugs/             libs and config files for findbugs (automatically detects common bugs and potential
  • trunk/build.xml

    r11668 r11675  
    2626        <property name="epsg.output" location="${base.dir}/data/projection/custom-epsg"/>
    2727        <property name="groovy.jar" location="${base.dir}/tools/groovy-all-2.4.8.jar"/>
    28         <property name="error_prone_ant.jar" location="${base.dir}/tools/error_prone_ant-2.0.15.jar"/>
     28        <property name="error_prone_ant.jar" location="${base.dir}/tools/error_prone_ant-2.0.18.jar"/>
    2929        <property name="javac.compiler" value="com.google.errorprone.ErrorProneAntCompilerAdapter" />
    3030        <!-- build parameter: compression level (ant -Dclevel=N)
     
    313313            <compilerarg value="-Xep:ReferenceEquality:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/>
    314314            <compilerarg value="-Xep:ImmutableEnumChecker:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/>
     315            <compilerarg value="-Xep:FutureReturnValueIgnored:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/>
     316            <compilerarg value="-Xep:FloatingPointLiteralPrecision:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/>
     317            <compilerarg value="-Xep:ShortCircuitBoolean:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/>
    315318            <compilerarg line="-Xmaxwarns 1000"/>
    316319        </javac>
  • trunk/src/org/openstreetmap/josm/data/imagery/AbstractWMSTileSource.java

    r10992 r11675  
    2929    private int[] tileYMax;
    3030    private double[] degreesPerTile;
    31     private static final float SCALE_DENOMINATOR_ZOOM_LEVEL_1 = 559082264.0287178f;
     31    private static final double SCALE_DENOMINATOR_ZOOM_LEVEL_1 = 559082264.0287178d;
    3232
    3333    /**
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java

    r11339 r11675  
    10801080        private void refreshRecentTags() {
    10811081            switch (PROPERTY_REFRESH_RECENT.get()) {
    1082                 case REFRESH: cacheRecentTags(); // break missing intentionally
    1083                 case STATUS: suggestRecentlyAddedTags(); break;
     1082                case REFRESH:
     1083                    cacheRecentTags();
     1084                    suggestRecentlyAddedTags();
     1085                    break;
     1086                case STATUS:
     1087                    suggestRecentlyAddedTags();
     1088                    break;
    10841089                default: // Do nothing
    10851090            }
  • trunk/src/org/openstreetmap/josm/io/GpxReader.java

    r11397 r11675  
    339339                        }
    340340                        currentState = states.pop();
    341                         break;
    342                     }
     341                    }
     342                    break;
    343343                case "bounds":
    344344                    // do nothing, has been parsed on startElement
Note: See TracChangeset for help on using the changeset viewer.