Changeset 9205 in josm for trunk/test


Ignore:
Timestamp:
2015-12-28T21:25:25+01:00 (5 years ago)
Author:
Don-vip
Message:

fix some Findbugs warnings

Location:
trunk/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/PerformanceTestUtils.java

    r8632 r9205  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm;
     3
     4import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    35
    46/**
     
    3739     * @return A {@link PerformanceTestTimer} object of which you can call {@link PerformanceTestTimer#done()} when done.
    3840     */
     41    @SuppressFBWarnings(value = "DM_GC", justification = "Performance test code")
    3942    public static PerformanceTestTimer startTimer(String name) {
    4043        System.gc();
  • trunk/test/unit/org/openstreetmap/josm/actions/mapmode/SelectActionTest.java

    r8949 r9205  
    3636        @Override
    3737        public synchronized int getInteger(String key, int def) {
    38             if (key == "edit.initial-move-delay") {
     38            if ("edit.initial-move-delay".equals(key)) {
    3939                return 0;
    4040            } else {
Note: See TracChangeset for help on using the changeset viewer.