Changeset 10977 in josm for trunk/src/org


Ignore:
Timestamp:
2016-09-08T23:15:39+02:00 (8 years ago)
Author:
Don-vip
Message:

add/update unit tests, fix indentation

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesCellRenderer.java

    r10878 r10977  
    9494                        // Find the non-blank value in the map
    9595                        v.entrySet().stream().filter(entry -> !Objects.equals(entry.getKey(), ""))
    96                                 /* I18n: properties display partial string joined with comma, first is count, second is value */
     96                            /* I18n: properties display partial string joined with comma, first is count, second is value */
    9797                            .findAny().ifPresent(entry -> sb.append(tr("{0} ''{1}''", entry.getValue().toString(), entry.getKey())));
    9898                    } else {
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r10971 r10977  
    16801680            ts = dts.getTileSet(displayZoomLevel);
    16811681            if (!dts.getTileSetInfo(displayZoomLevel).hasAllLoadedTiles && displayZoomLevel < zoom) {
    1682                  // if we are showing tiles from lower zoom level, ensure that all tiles are loaded as they are few,
    1683                  // and should not trash the tile cache
    1684                  // This is especially needed when dts.getTileSet(zoom).tooLarge() is true and we are not loading tiles
     1682                // if we are showing tiles from lower zoom level, ensure that all tiles are loaded as they are few,
     1683                // and should not trash the tile cache
     1684                // This is especially needed when dts.getTileSet(zoom).tooLarge() is true and we are not loading tiles
    16851685                ts.loadAllTiles(false);
    16861686            }
Note: See TracChangeset for help on using the changeset viewer.