- Timestamp:
- 2018-05-25T01:24:24+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/WMSEndpointTileSource.java
r13824 r13829 60 60 @Override 61 61 public String getTileUrl(int zoom, int tilex, int tiley) { 62 String bbox = getBbox(zoom, tilex, tiley, wmsi.belowWMS130() ? false :getTileProjection().switchXY());62 String bbox = getBbox(zoom, tilex, tiley, !wmsi.belowWMS130() && getTileProjection().switchXY()); 63 63 64 64 // Using StringBuffer and generic PATTERN_PARAM matcher gives 2x performance improvement over replaceAll -
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r13765 r13829 103 103 * @author imi 104 104 */ 105 public final class DataSet implements OsmData<OsmPrimitive, Node, Way, Relation>, ProjectionChangeListener , Lockable{105 public final class DataSet implements OsmData<OsmPrimitive, Node, Way, Relation>, ProjectionChangeListener { 106 106 107 107 /** -
trunk/src/org/openstreetmap/josm/data/osm/RelationMemberData.java
r13766 r13829 65 65 @Override 66 66 public OsmPrimitiveType getDisplayType() { 67 return memberType;67 return getMemberType(); 68 68 } 69 69 -
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/AddImageryPanel.java
r13825 r13829 53 53 private JComboBox<String> minimumCacheExpiryUnit; 54 54 private TimeUnit currentUnit; 55 56 55 57 56 /** -
trunk/src/org/openstreetmap/josm/io/audio/fx/JavaFxMediaPlayer.java
r13819 r13829 41 41 private MediaPlayer mediaPlayer; 42 42 43 JavaFxMediaPlayer() throws JosmRuntimeException{43 JavaFxMediaPlayer() { 44 44 try { 45 45 initFxPlatform(); -
trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java
r13828 r13829 18 18 import java.util.Set; 19 19 import java.util.concurrent.ConcurrentHashMap; 20 import java.util.function. Function;20 import java.util.function.UnaryOperator; 21 21 import java.util.regex.Pattern; 22 22 import java.util.stream.Collectors; … … 546 546 547 547 private Bounds parseBoundingBox(XMLStreamReader reader, Projection conv) { 548 Function<String,String> attrGetter = tag -> belowWMS130() ?548 UnaryOperator<String> attrGetter = tag -> belowWMS130() ? 549 549 reader.getAttributeValue(null, tag) 550 550 : reader.getAttributeValue(WMS_NS_URL, tag); … … 589 589 // If the url doesn't already have GetCapabilities, add it in 590 590 getCapabilitiesUrl = new URL(serviceUrlStr); 591 ret = serviceUrlStr;592 591 if (getCapabilitiesUrl.getQuery() == null) { 593 592 ret = serviceUrlStr + '?' + CAPABILITIES_QUERY_STRING;
Note:
See TracChangeset
for help on using the changeset viewer.