Ignore:
Timestamp:
2016-07-27T02:48:44+02:00 (9 years ago)
Author:
Don-vip
Message:

see #12472 - fix more warnings, increase maximum number of reported warnings from 100 to 1000

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java

    r10308 r10659  
    77import java.io.IOException;
    88import java.net.URL;
     9import java.util.Objects;
    910
    1011import javax.sound.sampled.AudioFormat;
     
    297298                            double offset = command.offset();
    298299                            speed = command.speed();
    299                             if (playingUrl != command.url() ||
     300                            if (!Objects.equals(playingUrl, command.url()) ||
    300301                                    stateChange != State.PAUSED ||
    301302                                    offset != 0) {
  • trunk/src/org/openstreetmap/josm/tools/template_engine/ContextSwitchTemplate.java

    r10043 r10659  
    147147            }
    148148            for (OsmPrimitive o: rhs.getPrimitives(root)) {
    149                 if (condition == null || condition.match(o) && !result.contains(o)) {
     149                if (condition == null || (condition.match(o) && !result.contains(o))) {
    150150                    result.add(o);
    151151                }
Note: See TracChangeset for help on using the changeset viewer.