- Timestamp:
- 2015-08-09T13:17:35+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSource.java
r8649 r8652 95 95 tileXMax = new int[getMaxZoom() + 1]; 96 96 tileYMax = new int[getMaxZoom() + 1]; 97 for (int zoom = getMinZoom(); zoom <= getMaxZoom(); zoom++) {97 for (int zoom = getMinZoom(); zoom <= getMaxZoom(); zoom++) { 98 98 TileXY maxTileIndex = latLonToTileXY(bottomRight.toCoordinate(), zoom); 99 99 tileXMax[zoom] = maxTileIndex.getXIndex(); -
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r8582 r8652 548 548 } 549 549 } 550 String[] newKeys = new String[keys.length + 2]; 551 for (int i = 0; i < keys.length; i += 2) { 552 newKeys[i] = keys[i]; 553 newKeys[i+1] = keys[i+1]; 554 } 550 String[] newKeys = Arrays.copyOf(keys, keys.length + 2); 555 551 newKeys[keys.length] = key; 556 552 newKeys[keys.length + 1] = value;
Note:
See TracChangeset
for help on using the changeset viewer.