Changeset 11545 in josm for trunk


Ignore:
Timestamp:
2017-02-09T01:02:52+01:00 (7 years ago)
Author:
Don-vip
Message:

sonar - squid:S2197 - Modulus results should not be checked for direct equality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r11452 r11545  
    12361236        if (Main.isDebugEnabled()) {
    12371237            if (yCursor < t.getYtile()) {
    1238                 if (t.getYtile() % 32 == 31) {
     1238                if (Math.abs(t.getYtile() % 32) == 31) {
    12391239                    g.fillRect(0, y - 1, mv.getWidth(), 3);
    12401240                } else {
Note: See TracChangeset for help on using the changeset viewer.